underscore-scrubber
v0.0.2
Published
Demonstration repo for module, unit test and CI setup
Downloads
6
Readme
Underscore Scrubber
A small library that removes underscored from strings. It optionally capitolizes the string.
Installation
npm install @slatron/underscore-scrubber
Usage
var underscoreScrubber = require('@slatron/underscore-scrubber');
var scrubbed = underscoreScrubber('scrub_me_pleez');
Output should be scrub me pleez
var underscoreScrubber = require('@slatron/underscore-scrubber');
var capitolized = underscoreScrubber('scrub_me_pleez', true);
Output should be Scrub me pleez
Tests
npm test
Currently running tests with Mocha and Chai on master branch
Contributing
Please add unit tests for any new or changed functionality. Lint and test your code.