Skip to content

forgotpw/string-normalizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published