Skip to content
Small test module for npm module, testing setup and CI demonstration / exploration.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

Build Status

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.

Coverage Status

You can’t perform that action at this time.