@fiverr/futile
v1.10.0
Published
Collection of low level ECMAScript helper functions targeting language primitives and native objects
Downloads
31
Readme
Install
npm i @fiverr/futile -S
Import the library
const futile = require('@fiverr/futile');
futile.shuffle([1, 2, 3]);
futile.deepassign({hash: {a: 1}}, {hash: {b: 2, c: 0}}, {hash: {c: 3}});
Import individual methods
const shuffle = require('@fiverr/futile/lib/shuffle');
const deepassign = require('@fiverr/futile/lib/deepassign');
shuffle([1, 2, 3]);
deepassign({hash: {a: 1}}, {hash: {b: 2, c: 0}}, {hash: {c: 3}});
Use the Documentation