nitro-tools
nitro tools
Last updated 10 years ago by jgermade .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install nitro-tools 
SYNC missed versions from official npm registry.

nitro-tools wercker status

npm version Build Status

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()

Current Tags

  • 0.2.4                                ...           latest (10 years ago)

25 Versions

  • 0.2.4                                ...           10 years ago
  • 0.2.3                                ...           10 years ago
  • 0.2.2                                ...           10 years ago
  • 0.2.1                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.16                                ...           10 years ago
  • 0.1.15                                ...           10 years ago
  • 0.1.14                                ...           10 years ago
  • 0.1.13                                ...           10 years ago
  • 0.1.12                                ...           10 years ago
  • 0.1.11                                ...           11 years ago
  • 0.1.10                                ...           11 years ago
  • 0.1.9                                ...           11 years ago
  • 0.1.8                                ...           11 years ago
  • 0.1.7                                ...           11 years ago
  • 0.1.6                                ...           11 years ago
  • 0.1.5                                ...           11 years ago
  • 0.1.4                                ...           11 years ago
  • 0.1.3                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
  • 0.0.3                                ...           11 years ago
  • 0.0.2                                ...           11 years ago
  • 0.0.1                                ...           11 years ago
Maintainers (1)
Downloads
Total 24
Today 0
This Week 0
This Month 24
Last Day 0
Last Week 24
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE