npm.io
1.4.0 • Published 9 years ago

cou

Licence
ISC
Version
1.4.0
Deps
1
Vulns
0
Weekly
0
Stars
1

cou

Build status [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][downloads-url] [![Dependency Status][david-image]][david-url] [npm-image]: https://img.shields.io/npm/v/cou.svg?style=flat-square [npm-url]: https://npmjs.org/package/cou [downloads-image]: http://img.shields.io/npm/dm/cou.svg?style=flat-square [downloads-url]: https://npmjs.org/package/cou [david-image]: http://img.shields.io/david/chunpu/cou.svg?style=flat-square [david-url]: https://david-dm.org/chunpu/cou

Test coverage Gittip

Core Util Javascript Lib

Installation

npm i cou

Usage

var _ = require('min-util')
Type Check

_.is equals min-is

assert(_.is.arraylike({0: 'foo', length: 1}))
Core Util Function
  • _.extend same as _.assign
  • _.each
  • _.map
  • _.filter
  • _.some
  • _.every
  • _.reduce
  • _.findIndex
  • _.find
  • _.indexOf
  • _.toArray
  • _.size
  • _.has
  • _.includes
  • _.slice
  • _.negate
  • _.keys
  • _.forIn
  • _.trim
  • _.noop
  • _.len return length of object, unofficial

Support

  • all browsers even IE6+
  • node.js

License

License