0.2.4 • Published 8 years ago
nitro-tools v0.2.4
nitro-tools
Installation
npm install nitro-tools --save
Usage
Underscore object '_' with useful functions
// comparators
_.isFunction(object)
_.isString(object)
_.isNumber(object)
_.isArray(object)
_.isDate(object)
_.isRegExp(object)
_.isObject(object)
// key handling
_.key(key, value)
_.keys(object) // alias of Object.keys
// object extend and copy
_.extend(dest, obj1, obj2)
_.merge(dest, obj1, obj2)
_.copy(obj)
// object matches
_.matchAll(obj, filter)
_.matchAny(obj, filter)
// list filter
_.find(list, filters) // returns first match in a list
_.filter(list, filters)
// path handling
_.joinPath(path1, path2, path3)
_.each(list or object, iterator)
_.indexOf(list, value or iterator)
_.remove(list, value or iterator)
// pipe and chainig
_.pipe()
_.chain()
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.16
8 years ago
0.1.15
8 years ago
0.1.14
8 years ago
0.1.13
8 years ago
0.1.12
8 years ago
0.1.11
8 years ago
0.1.10
8 years ago
0.1.9
8 years ago
0.1.8
8 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago
1.2.0
9 years ago
1.1.6
9 years ago
1.1.5
9 years ago
1.1.4
9 years ago
1.1.3
9 years ago
1.1.2
9 years ago
1.1.1
9 years ago
1.1.0
9 years ago
1.0.11
9 years ago
1.0.10
9 years ago
1.0.9
9 years ago
1.0.8
9 years ago
1.0.7
9 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago