Simple functional functions common to any development in Typescript or JavaScript.
dist | ||
src | ||
Makefile | ||
README.md |
fnTools
Simple functional functions common to any development in Typescript or JavaScript.
- inc: Increase the value of a
number
. - dec: Decrease the value of a
number
. - range: Returns an array with a sequence.
- uniqValuesArray: Creates a duplicate-free version of an array.
- cloneJSON: Clone JSON.
- updateJSON: Returns a JSON with an updated value.
Example
Compile
Install Typescript
npm install -g typescript
And build.
make build
Check 'dist' folder.