This repository contains extensions on string and uri's. The utilities are all developed using TDD.
===============
A small library providing utility methods to compress
and checkURIs
- npm install
- npm test
This library is not yet published into npm. Otherwise we need to install the library using the below command in bash.
npm install jsutilities --save
var jsutilities = require('jsutilities')
compress = jsutilities.compress,
checkURIs = jsutilities.checkURIs;
var uncompressed = 'abbcccdddd';
var compressed_string = compress(uncompressed);
console.log(compressed_string); //should return a1b2c3d4
var uri1 = 'http://ravikumar.io', uri2 = 'http://ravikumar.io:80';
var are_uris_same = checkURIs(uri1, uri2);
console.log(are_uris_same); //should return true
- 1.0.0 Initial release