1.0.0 • Published 7 years ago

utils-igor-es6 v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

utils-igor-es6

Java script utils write in ecma6.

Installation

npm install utils-igor-es6

Example

index.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:

{"objEmpty":true,"isFunction":false,"arr":[2,3,4,5]}

Version

1.0.0

Api description

People

Author and developer is Igor Stcherbina

License


MIT

Free Software