Java script utils in ecma6
npm install utils-igor-es6
``bash`
npm install utils-igor-es6
---$3
index.js
` js
import obj from '../Obj';
import arr from '../Arr';
import type from '../Type';
import date from '../Date';
import str from '../Str';
var testArr = [2,3,4,4,4,4,5];
var testObj = {};
console.log({
objEmpty : obj.isEmpty(testObj),
isFunction : type.isFn(testObj),
arr : arr.unique(testArr)
});
``
Result: json``
{"objEmpty":true,"isFunction":false,"arr":[2,3,4,5]}
---
Author and developer is Igor Stcherbina
---
Free Software