Skip to content

Commit 1637570

Browse files
Merge pull request #7 from AgapeToolkit/string/readme
update readme
2 parents dc1b729 + 41f532d commit 1637570

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@ String and token manipulation
55
## Synopsis
66

77
```
8-
import {
9-
camelize,
10-
kebabify,
11-
pascalize,
12-
pluralize,
13-
titalize,
14-
verbalize,
15-
quantify
16-
} from '@agape/string'
17-
188
camelize('user name') // userName
199
camelize('email-address') // emailAddress
2010
@@ -30,6 +20,12 @@ pluralize('analysis') // analyses
3020
quantify(1, 'item') // 1 item
3121
quantify(3, 'box') // 3 boxes
3222
23+
singularize('cities') // city
24+
singularize('analyses') // analysis
25+
26+
snakify('userName') // user_name
27+
snakify('APIResponseCode') // api_response_code
28+
3329
titalize('the lord of the rings') // The Lord of the Rings
3430
titalize('war and peace') // War and Peace
3531

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "@agape/string",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "String and token manipulation",
55
"main": "./cjs/index.js",
66
"module": "./es2020/index.js",
77
"keywords": [
88
"agape",
99
"string"
1010
],
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/AgapeToolkit/agape-string"
14+
},
1115
"author": "Maverik Minett",
1216
"license": "MIT",
1317
"es2020": "./es2020/index.js",

0 commit comments

Comments
 (0)