to-id
Normalises strings for comparison or usage as IDs
Usage
// inside-a-34-smartphone // kore-a-fast-webserver // l-yc-s15-is-hiring // 안-형-준
Installation
You can download to-id.js
and add it to your site using <script src="to-id.js"></script>
Or install using bower for usage in browser:
bower install --save to-id
Install using npm for node.js or browserify:
npm install --save to-id
Test
npm test
Tests are run with testmate.
In order to run them in a browser or through saucelabs,
set TEST_CLIENT
accordingly, for example
TEST_CLIENT=selenium:firefox npm test