José Quiñones Flores 4564da0130 Added Laravel project and removed sensitive data | hace 4 años | |
---|---|---|
.. | ||
LICENSE | hace 4 años | |
README.md | hace 4 años | |
constant-case.d.ts | hace 4 años | |
constant-case.js | hace 4 años | |
package.json | hace 4 años |
Constant case a string.
Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString
property, numbers and booleans. Empty values (null
and undefined
) will result in an empty string.
npm install constant-case --save
var constantCase = require('constant-case')
constantCase('string') //=> "STRING"
constantCase('PascalCase') //=> "PASCAL_CASE"
constantCase('myString', 'tr') //=> "MY_STRİNG"
Includes a TypeScript definition.
MIT