tool-belt
v1.0.1
Published
A wip utility library
Downloads
7
Readme
tool-belt
Soon to be born js utility library. This library will be undergoing major changes soon.
Requires jquery for client functions.
For now
$ npm install tool-beltlet toolBelt = require('tool-belt');
toolBelt.trunc('Hello World', 5); // He...Available functions as of right now
appgetregister a get based express functionpostregister a post based express function
hashjava like hash of a stringprintprints and returnstrunctruncates strings with elipsesextendextends an objectconstructorCorrectly set an object's constructoroncereturn a function that can only run onceserverreturn a function that can only run on nodeclientreturn a function that can only be run on the the clientdataEqualcompare two data setsdataCopycopy a data setintersectscheck if two arrays intersectuniqueremoves all duplicates and returns a new arrayflattenflattens an arrayuntilStableruns a function until it no longer calls the given callbacknopno operation,redirectclient redirect with delay
