expressivestrings

1.0.0 • Public • Published

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-string

Example

const expressive = require('expressive')
console.log('Meaningful string: ', expressive.expressify('an example string'))

Output

Meaningful string: Second-hand Millipede

Usage

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 ' '.

Readme

Keywords

none

Package Sidebar

Install

npm i expressivestrings

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

33.5 kB

Total Files

8

Last publish

Collaborators

  • nghiant3223