@mikeygough/stringlib
v1.0.6
Published
a JS library for strings
Downloads
2
Readme
stringlib
stringlib is a JS library for strings.
this library includes ten string helper methods:
capitalize()
allCaps()
capitalizeWords()
removeExtraSpaces()
kebobCase()
snakeCase()
camelCase()
shift()
makeHashTag()
isEmpty()
testing notes
this repository includes unit tests. the tests are helpful for understanding how each function should perform. if you add a new function, please add a corresponding test.
run all tests with:
npm test
generate a test coverage report with:
npm jest --coverage