humanizr:使事物可读

时间:2024-06-06 20:34:29
【文件属性】:

文件名称:humanizr:使事物可读

文件大小:23KB

文件格式:ZIP

更新时间:2024-06-06 20:34:29

string string-manipulation readable uncamelcase JavaScript

人性化 使strings易于阅读 安装 $ npm install humanizr 用法 const humanizr = require ( 'humanizr' ) ; humanizr . humanify ( 'fooBar' , humanizr ) ; //=> 'Foo Bar' humanizr . humanify ( 'foo-bar' , humanizr . LOWER_CASE ) ; //=> 'foo bar' humanizr . humanify ( 'foo_bar' , humanizr . UPPER_CASE ) ; //=> 'FOO BAR' humanizr . humanify ( 'fooBar' , humanizr . TITLE_CASE ) ; //=> 'Foo Bar' humanizr . humanify ( 'f


【文件预览】:
humanizr-master
----test.js(1KB)
----.travis.yml(34B)
----LICENSE(1KB)
----README.md(660B)
----.gitignore(914B)
----index.js(2KB)
----package-lock.json(81KB)
----package.json(731B)

网友评论