增加晶全app静态页面
This commit is contained in:
9
node_modules/ext/docs/string_/camel-to-hyphen.md
generated
vendored
Normal file
9
node_modules/ext/docs/string_/camel-to-hyphen.md
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# `string.camelToHyphen()` _(ext/string\_/camel-to-hyphen)_
|
||||
|
||||
Convert camelCase string to hyphen separated, e.g. `oneTwoThree` into `one-to-three`. Useful when converting names from js property convention into filename convention.
|
||||
|
||||
```javascript
|
||||
const camelToHyphen = require("ext/string_/camelToHyphen");
|
||||
|
||||
camelToHyphen.call("razDwaTrzy"); // raz-dwa-trzy
|
||||
```
|
Reference in New Issue
Block a user