Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ustring

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ustring - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

test/TestCamelize.js

2

package.json
{
"name": "ustring",
"version": "1.2.0",
"version": "1.2.1",
"description": "String utility functions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -31,2 +31,20 @@ # String utility methods

### hyphenate
```js
ustring.hyphenate('ThisIsMyWord') == 'this-is-my-word'
```
### humanize
```js
ustring.humanize('This_is-a-very-long-sentence') == 'This is a very long sentence'
```
### camelize
```js
ustring.camelize('This-is-a-very-long-word') == 'ThisIsAVeryLongWord'
```
### is.alphanum

@@ -33,0 +51,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc