File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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-
188camelize('user name') // userName
199camelize('email-address') // emailAddress
2010
@@ -30,6 +20,12 @@ pluralize('analysis') // analyses
3020quantify(1, 'item') // 1 item
3121quantify(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+
3329titalize('the lord of the rings') // The Lord of the Rings
3430titalize('war and peace') // War and Peace
3531
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments