1.0.0 • Published 4 years ago
expressivestrings v1.0.0
EXPRESSIVE
Expressive is a npm package which generates meaningful strings from any input. It guarantees that same inputs always produce same outputs.
Getting Started
Installation
$ npm install meaningful-stringExample
const expressive = require('expressive')
console.log('Meaningful string: ', expressive.expressify('an example string'))Output
Meaningful string: Second-hand MillipedeUsage
Prototype
function expressify(string: String, options: Object)There are many options you can pass:
'case': Case of the result text, it can be one of'lower','upper','title','camel','snake'. Default value is'title'.'separator': Word separator of result text, you can pass any value you want. Default value is' '.
1.0.0
4 years ago