npm

utils-igor-es6

1.0.0 • Public • Published

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

People

Author and developer is Igor Stcherbina

License


MIT

Free Software

Package Sidebar

Install

npm i utils-igor-es6

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • igor_stcherbina