1.0.1 • Published 5 years ago

string-normalizer v1.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

StringNormalizer

A simple library to consistently normalize a string so it can be used as a key in a data store.

Installation

npm install --save string-normalizer

Usage

const stringNormalizer = require('string-normalizer');
const inputString = 'Example string ';
const normalizedString = stringNormalizer.normalizeString(inputString);
console.log(normalizedString);
> 'example-string'

Testing

npm test 

License

MIT

See LICENSE to see the full text.