Comparing version 0.2.1 to 0.2.2
@@ -8,18 +8,18 @@ 'use strict'; | ||
* ```js | ||
* utils.lang.hasValues('a'); | ||
* hasValues('a'); | ||
* //=> true | ||
* | ||
* utils.lang.hasValues(''); | ||
* hasValues(''); | ||
* //=> false | ||
* | ||
* utils.lang.hasValues(1); | ||
* hasValues(1); | ||
* //=> true | ||
* | ||
* utils.lang.hasValues({a: 'a'}}); | ||
* hasValues({a: 'a'}}); | ||
* //=> true | ||
* | ||
* utils.lang.hasValues({}}); | ||
* hasValues({}}); | ||
* //=> false | ||
* | ||
* utils.lang.hasValues(['a']); | ||
* hasValues(['a']); | ||
* //=> true | ||
@@ -26,0 +26,0 @@ * ``` |
@@ -10,19 +10,19 @@ 'use strict'; | ||
* ```js | ||
* utils.lang.isEmpty('a'); | ||
* isEmpty('a'); | ||
* //=> false | ||
* | ||
* isEmpty(''); | ||
* //=> true | ||
* | ||
* utils.lang.isEmpty(''); | ||
* isEmpty(1); | ||
* //=> false | ||
* | ||
* utils.lang.isEmpty(1); | ||
* //=> true | ||
* isEmpty({a: 'a'}); | ||
* //=> false | ||
* | ||
* utils.lang.isEmpty({a: 'a'}}); | ||
* isEmpty({}); | ||
* //=> true | ||
* | ||
* utils.lang.isEmpty({}}); | ||
* isEmpty(['a']); | ||
* //=> false | ||
* | ||
* utils.lang.isEmpty(['a']); | ||
* //=> true | ||
* ``` | ||
@@ -29,0 +29,0 @@ * |
{ | ||
"name": "utils", | ||
"description": "Fast, generic JavaScript/node.js utility functions.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"homepage": "https://github.com/jonschlinkert/utils", | ||
@@ -38,3 +38,3 @@ "author": { | ||
"arr-union": "^2.0.1", | ||
"array-each": "^0.1.0", | ||
"array-each": "^0.1.1", | ||
"array-slice": "^0.2.3", | ||
@@ -67,3 +67,2 @@ "array-unique": "^0.2.1", | ||
"jshint-stylish": "^1.0.1", | ||
"lodash": "^3.7.0", | ||
"mocha": "^2.2.4", | ||
@@ -70,0 +69,0 @@ "relative": "^3.0.0", |
389
README.md
@@ -1,2 +0,2 @@ | ||
# utils [![NPM version](https://badge.fury.io/js/utils.svg)](http://badge.fury.io/js/utils) [![Build Status](https://travis-ci.org/jonschlinkert/utils.svg)](https://travis-ci.org/jonschlinkert/utils) | ||
# utils [![NPM version](https://badge.fury.io/js/utils.svg)](http://badge.fury.io/js/utils) [![Build Status](https://travis-ci.org/jonschlinkert/utils.svg)](https://travis-ci.org/jonschlinkert/utils) | ||
@@ -15,15 +15,16 @@ > Fast, generic JavaScript/node.js utility functions. | ||
- [Usage](#usage) | ||
- [API](#api) | ||
- [Code coverage](#code-coverage) | ||
- [Running tests](#running-tests) | ||
- [Contributing](#contributing) | ||
* [Adding utils](#adding-utils) | ||
* [Updating the docs](#updating-the-docs) | ||
* [Running verb](#running-verb) | ||
- [About](#about) | ||
- [Related projects](#related-projects) | ||
- [Author](#author) | ||
- [License](#license) | ||
* [Usage](#usage) | ||
* [API](#api) | ||
* [Code coverage](#code-coverage) | ||
* [Running tests](#running-tests) | ||
* [Contributing](#contributing) | ||
- [Adding utils](#adding-utils) | ||
- [Updating the docs](#updating-the-docs) | ||
- [Running verb](#running-verb) | ||
* [About](#about) | ||
* [Related projects](#related-projects) | ||
* [Author](#author) | ||
* [License](#license) | ||
_(Table of contents generated by [verb])_ | ||
@@ -72,5 +73,5 @@ | ||
* `array` **{Array}**: Collection | ||
* `n` **{Number}**: Starting index (number of items to exclude) | ||
* `returns` **{Array}**: Array exluding `n` items. | ||
* `array` **{Array}**: Collection | ||
* `n` **{Number}**: Starting index (number of items to exclude) | ||
* `returns` **{Array}**: Array exluding `n` items. | ||
@@ -90,4 +91,4 @@ **Example** | ||
* `val` **{*}** | ||
* `returns` **{Array}** | ||
* `val` __{_}_* | ||
* `returns` **{Array}** | ||
@@ -110,5 +111,5 @@ **Example** | ||
* `array` **{Array}** | ||
* `n` **{Number}** | ||
* `returns` **{Array}**: Array excluding items after the given number. | ||
* `array` **{Array}** | ||
* `n` **{Number}** | ||
* `returns` **{Array}**: Array excluding items after the given number. | ||
@@ -128,4 +129,4 @@ **Example** | ||
* `arr` **{Array}** | ||
* `returns` **{Array}** | ||
* `arr` **{Array}** | ||
* `returns` **{Array}** | ||
@@ -145,5 +146,5 @@ **Example** | ||
* `a` **{Array}** | ||
* `b` **{Array}** | ||
* `returns` **{Array}** | ||
* `a` **{Array}** | ||
* `b` **{Array}** | ||
* `returns` **{Array}** | ||
@@ -166,6 +167,6 @@ **Example** | ||
* `array` **{Array}** | ||
* `fn` **{Function}** | ||
* `thisArg` **{Object}**: Optionally pass a `thisArg` to be used as the context in which to call the function. | ||
* `returns` **{Array}** | ||
* `array` **{Array}** | ||
* `fn` **{Function}** | ||
* `thisArg` **{Object}**: Optionally pass a `thisArg` to be used as the context in which to call the function. | ||
* `returns` **{Array}** | ||
@@ -192,5 +193,5 @@ **Example** | ||
* `array` **{Array}** | ||
* `n` **{Number}**: Number of items to return, starting at `0`. | ||
* `returns` **{Array}** | ||
* `array` **{Array}** | ||
* `n` **{Number}**: Number of items to return, starting at `0`. | ||
* `returns` **{Array}** | ||
@@ -210,4 +211,4 @@ **Example** | ||
* `array` **{Array}** | ||
* `returns` **{Array}**: Flattened array | ||
* `array` **{Array}** | ||
* `returns` **{Array}**: Flattened array | ||
@@ -227,6 +228,6 @@ **Example** | ||
* `array` **{Array}** | ||
* `fn` **{Function}** | ||
* `thisArg` **{Object}**: Optionally pass a `thisArg` to be used as the context in which to call the function. | ||
* `returns` **{Array}** | ||
* `array` **{Array}** | ||
* `fn` **{Function}** | ||
* `thisArg` **{Object}**: Optionally pass a `thisArg` to be used as the context in which to call the function. | ||
* `returns` **{Array}** | ||
@@ -253,3 +254,3 @@ **Example** | ||
* `value` **{Array}**: Value to test. | ||
* `value` **{Array}**: Value to test. | ||
@@ -272,5 +273,5 @@ **Example** | ||
* `array` **{Array}** | ||
* `n` **{Number}**: Number of items to return, starting with the last item. | ||
* `returns` **{Array}** | ||
* `array` **{Array}** | ||
* `n` **{Number}**: Number of items to return, starting with the last item. | ||
* `returns` **{Array}** | ||
@@ -290,5 +291,5 @@ **Example** | ||
* `array` **{Array}** | ||
* `fn` **{Function}** | ||
* `returns` **{Array}** | ||
* `array` **{Array}** | ||
* `fn` **{Function}** | ||
* `returns` **{Array}** | ||
@@ -315,5 +316,5 @@ **Example** | ||
* `array` **{Array}**: the array to slice. | ||
* `start` **{Number}**: Optionally define the starting index. | ||
* `end` **{Number}**: Optionally define the ending index. | ||
* `array` **{Array}**: the array to slice. | ||
* `start` **{Number}**: Optionally define the starting index. | ||
* `end` **{Number}**: Optionally define the ending index. | ||
@@ -335,4 +336,4 @@ **Example** | ||
* `array` **{Array}**: The array to uniquify | ||
* `returns` **{Array}**: With all union values. | ||
* `array` **{Array}**: The array to uniquify | ||
* `returns` **{Array}**: With all union values. | ||
@@ -352,4 +353,4 @@ **Example** | ||
* `array` **{Array}**: The array to uniquify | ||
* `returns` **{Array}**: With all unique values. | ||
* `array` **{Array}**: The array to uniquify | ||
* `returns` **{Array}**: With all unique values. | ||
@@ -370,5 +371,5 @@ **Example** | ||
* `value` **{*}** | ||
* `target` **{*}** | ||
* `options` **{Object}** | ||
* `value` __{_}_* | ||
* `target` __{_}_* | ||
* `options` **{Object}** | ||
@@ -381,5 +382,5 @@ ### [.contains](lib/collection/contains.js#L17) | ||
* `collection` **{Array|Object}** | ||
* `string` **{*}** | ||
* `returns` **{Boolean}** | ||
* `collection` **{Array|Object}** | ||
* `string` __{_}_* | ||
* `returns` **{Boolean}** | ||
@@ -394,4 +395,4 @@ ### [.tryReaddir](lib/fs/tryReaddir.js#L16) | ||
* `dir` **{String}**: Starting directory | ||
* `returns` **{Array}**: Array of files. | ||
* `dir` **{String}**: Starting directory | ||
* `returns` **{Array}**: Array of files. | ||
@@ -405,4 +406,4 @@ ### [.tryRequire](lib/fs/tryRequire.js#L15) | ||
* `fp` **{String}**: File path of the file to require | ||
* `returns` **{*}**: Returns the module function/object, or `null` if not found. | ||
* `fp` **{String}**: File path of the file to require | ||
* `returns` __{_}_*: Returns the module function/object, or `null` if not found. | ||
@@ -415,5 +416,5 @@ ### [.hasValues](lib/lang/hasValues.js#L34) | ||
* `object` **{Object}**: The object to check for `value` | ||
* `value` **{*}**: the value to look for | ||
* `returns` **{Boolean}**: True if any values exists. | ||
* `object` **{Object}**: The object to check for `value` | ||
* `value` __{_}_*: the value to look for | ||
* `returns` **{Boolean}**: True if any values exists. | ||
@@ -423,18 +424,18 @@ **Example** | ||
```js | ||
utils.lang.hasValues('a'); | ||
hasValues('a'); | ||
//=> true | ||
utils.lang.hasValues(''); | ||
hasValues(''); | ||
//=> false | ||
utils.lang.hasValues(1); | ||
hasValues(1); | ||
//=> true | ||
utils.lang.hasValues({a: 'a'}}); | ||
hasValues({a: 'a'}}); | ||
//=> true | ||
utils.lang.hasValues({}}); | ||
hasValues({}}); | ||
//=> false | ||
utils.lang.hasValues(['a']); | ||
hasValues(['a']); | ||
//=> true | ||
@@ -449,5 +450,5 @@ ``` | ||
* `object` **{Object}**: The object to check for `value` | ||
* `value` **{*}**: the value to look for | ||
* `returns` **{Boolean}**: False if any values exists. | ||
* `object` **{Object}**: The object to check for `value` | ||
* `value` __{_}_*: the value to look for | ||
* `returns` **{Boolean}**: False if any values exists. | ||
@@ -457,19 +458,19 @@ **Example** | ||
```js | ||
utils.lang.isEmpty('a'); | ||
isEmpty('a'); | ||
//=> false | ||
isEmpty(''); | ||
//=> true | ||
utils.lang.isEmpty(''); | ||
isEmpty(1); | ||
//=> false | ||
utils.lang.isEmpty(1); | ||
//=> true | ||
isEmpty({a: 'a'}); | ||
//=> false | ||
utils.lang.isEmpty({a: 'a'}}); | ||
isEmpty({}); | ||
//=> true | ||
utils.lang.isEmpty({}}); | ||
isEmpty(['a']); | ||
//=> false | ||
utils.lang.isEmpty(['a']); | ||
//=> true | ||
``` | ||
@@ -483,4 +484,4 @@ | ||
* `value` **{Object}**: The value to check. | ||
* `returns` **{Boolean}** | ||
* `value` **{Object}**: The value to check. | ||
* `returns` **{Boolean}** | ||
@@ -503,4 +504,4 @@ **Example** | ||
* `value` **{Object}**: The value to check. | ||
* `returns` **{Boolean}** | ||
* `value` **{Object}**: The value to check. | ||
* `returns` **{Boolean}** | ||
@@ -526,4 +527,4 @@ **Example** | ||
* `array` **{Array}**: Array of numbers to add up. | ||
* `returns` **{Number}** | ||
* `array` **{Array}**: Array of numbers to add up. | ||
* `returns` **{Number}** | ||
@@ -543,5 +544,5 @@ **Example** | ||
* `object` **{Object}**: The target object. Pass an empty object to shallow clone. | ||
* `objects` **{Object}** | ||
* `returns` **{Object}** | ||
* `object` **{Object}**: The target object. Pass an empty object to shallow clone. | ||
* `objects` **{Object}** | ||
* `returns` **{Object}** | ||
@@ -554,5 +555,5 @@ ### [.extend](lib/object/extend.js#L16) | ||
* `o` **{Object}**: The target object. Pass an empty object to shallow clone. | ||
* `objects` **{Object}** | ||
* `returns` **{Object}** | ||
* `o` **{Object}**: The target object. Pass an empty object to shallow clone. | ||
* `objects` **{Object}** | ||
* `returns` **{Object}** | ||
@@ -565,4 +566,4 @@ ### [.functions](lib/object/functions.js#L20) | ||
* `obj` **{Object}** | ||
* `returns` **{Object}** | ||
* `obj` **{Object}** | ||
* `returns` **{Object}** | ||
@@ -582,5 +583,5 @@ **Example** | ||
* `key` **{String}** | ||
* `obj` **{Object}**: Optionally pass an object to check. | ||
* `returns` **{Boolean}** | ||
* `key` **{String}** | ||
* `obj` **{Object}**: Optionally pass an object to check. | ||
* `returns` **{Boolean}** | ||
@@ -600,4 +601,4 @@ **Example** | ||
* `obj` **{Object}** | ||
* `returns` **{Array}**: Array of keys. | ||
* `obj` **{Object}** | ||
* `returns` **{Array}**: Array of keys. | ||
@@ -611,5 +612,5 @@ ### [.merge](lib/object/merge.js#L23) | ||
* `o` **{Object}**: The target object. Pass an empty object to shallow clone. | ||
* `objects` **{Object}** | ||
* `returns` **{Object}** | ||
* `o` **{Object}**: The target object. Pass an empty object to shallow clone. | ||
* `objects` **{Object}** | ||
* `returns` **{Object}** | ||
@@ -623,4 +624,4 @@ ### [.methods](lib/object/methods.js#L15) | ||
* `obj` **{Object}** | ||
* `returns` **{Array}** | ||
* `obj` **{Object}** | ||
* `returns` **{Array}** | ||
@@ -633,7 +634,7 @@ ### [.reduce](lib/object/reduce.js#L32) | ||
* `obj` **{Object}**: The object to iterate over. | ||
* `iterator` **{Function}**: Iterator function | ||
* `initial` **{Object}**: Initial value. | ||
* `thisArg` **{Object}**: The `this` binding of the iterator function. | ||
* `returns` **{Object}** | ||
* `obj` **{Object}**: The object to iterate over. | ||
* `iterator` **{Function}**: Iterator function | ||
* `initial` **{Object}**: Initial value. | ||
* `thisArg` **{Object}**: The `this` binding of the iterator function. | ||
* `returns` **{Object}** | ||
@@ -664,4 +665,4 @@ **Example** | ||
* `string` **{String}**: The string to camelcase. | ||
* `returns` **{String}** | ||
* `string` **{String}**: The string to camelcase. | ||
* `returns` **{String}** | ||
@@ -681,4 +682,4 @@ **Example** | ||
* `str` **{String}**: The string to reverse. | ||
* `returns` **{String}**: Centered string. | ||
* `str` **{String}**: The string to reverse. | ||
* `returns` **{String}**: Centered string. | ||
@@ -697,4 +698,4 @@ **Example** | ||
* `string` **{String}**: The string to chop. | ||
* `returns` **{String}** | ||
* `string` **{String}**: The string to chop. | ||
* `returns` **{String}** | ||
@@ -720,5 +721,5 @@ **Example** | ||
* `string` **{String}** | ||
* `substring` **{String}** | ||
* `returns` **{Number}**: The occurances of `substring` in `string` | ||
* `string` **{String}** | ||
* `substring` **{String}** | ||
* `returns` **{Number}**: The occurances of `substring` in `string` | ||
@@ -738,4 +739,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -755,4 +756,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -772,6 +773,6 @@ **Example** | ||
* `str` **{String}** | ||
* `length` **{Number}**: The desired length of the returned string. | ||
* `ch` **{String}**: Optionally pass custom characters to append. Default is `…`. | ||
* `returns` **{String}**: The truncated string. | ||
* `str` **{String}** | ||
* `length` **{Number}**: The desired length of the returned string. | ||
* `ch` **{String}**: Optionally pass custom characters to append. Default is `…`. | ||
* `returns` **{String}**: The truncated string. | ||
@@ -791,4 +792,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -808,4 +809,4 @@ **Example** | ||
* `val` **{String}** | ||
* `returns` **{Boolean}**: True if the value is a string. | ||
* `val` **{String}** | ||
* `returns` **{Boolean}**: True if the value is a string. | ||
@@ -828,4 +829,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -845,4 +846,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -862,6 +863,6 @@ **Example** | ||
* `str` **{String}** | ||
* `a` **{String|RegExp}**: Can be a string or regexp. | ||
* `b` **{String}** | ||
* `returns` **{String}** | ||
* `str` **{String}** | ||
* `a` **{String|RegExp}**: Can be a string or regexp. | ||
* `b` **{String}** | ||
* `returns` **{String}** | ||
@@ -881,4 +882,4 @@ **Example** | ||
* `str` **{String}**: The string to reverse. | ||
* `returns` **{String}** | ||
* `str` **{String}**: The string to reverse. | ||
* `returns` **{String}** | ||
@@ -898,4 +899,4 @@ **Example** | ||
* `str` **{String}**: The string to reverse. | ||
* `returns` **{String}**: Right-aligned string. | ||
* `str` **{String}**: The string to reverse. | ||
* `returns` **{String}**: Right-aligned string. | ||
@@ -914,4 +915,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -931,4 +932,4 @@ **Example** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
* `string` **{String}** | ||
* `returns` **{String}** | ||
@@ -948,5 +949,5 @@ **Example** | ||
* `str` **{String}** | ||
* `length` **{Number}**: The desired length of the returned string. | ||
* `returns` **{String}**: The truncated string. | ||
* `str` **{String}** | ||
* `length` **{Number}**: The desired length of the returned string. | ||
* `returns` **{String}**: The truncated string. | ||
@@ -966,5 +967,5 @@ **Example** | ||
* `string` **{String}**: The string with words to wrap. | ||
* `object` **{Options}**: Options to pass to [word-wrap] | ||
* `returns` **{String}**: Formatted string. | ||
* `string` **{String}**: The string with words to wrap. | ||
* `object` **{Options}**: Options to pass to [word-wrap] | ||
* `returns` **{String}**: Formatted string. | ||
@@ -978,4 +979,2 @@ **Example** | ||
_(API documentation generated by [Verb])_ | ||
## Code coverage | ||
@@ -985,3 +984,3 @@ | ||
``` | ||
```undefined | ||
-----------------------|-----------|-----------|-----------|-----------| | ||
@@ -1078,18 +1077,18 @@ File | % Stmts |% Branches | % Funcs | % Lines | | ||
If you want to do a PR to add a util, please read the following first: | ||
- follow the same coding style as the rest of the library, same with code comments | ||
- add sufficient unit tests | ||
- Install dev dependencies and [run verb](#running-verb) | ||
- Look over the README to make sure that verb rendered out the docs with your method and code comments. | ||
* follow the same coding style as the rest of the library, same with code comments | ||
* add sufficient unit tests | ||
* Install dev dependencies and [run verb](#running-verb) | ||
* Look over the README to make sure that verb rendered out the docs with your method and code comments. | ||
**Adding external modules as dependencies** | ||
- External modules will only be considered if they meet the same quality and coding standards as the rest of the library. At minimum this includes documentation, code comments, and unit tests. Benchmarks are also strongly preferred. | ||
* External modules will only be considered if they meet the same quality and coding standards as the rest of the library. At minimum this includes documentation, code comments, and unit tests. Benchmarks are also strongly preferred. | ||
### Updating the docs | ||
Do not edit the readme manually since [verb] is used to generate documentation. | ||
Do not edit the readme manually since [verb] is used to generate documentation. | ||
- API docs: If you see an error in the API documentation, just update the code comments for that method, then [run verb](#running-verb). | ||
- Everything else, please look over the [.verb.md](./.verb.md) template to see where the error is, then [run verb](#running-verb). | ||
* API docs: If you see an error in the API documentation, just update the code comments for that method, then [run verb](#running-verb). | ||
* Everything else, please look over the [.verb.md](./.verb.md) template to see where the error is, then [run verb](#running-verb). | ||
@@ -1108,12 +1107,12 @@ ### Running verb | ||
- I'm a node.js developer. I want fast, light, dependable utility functions for node.js projects. | ||
- Do you really need bloated, everything-but-the-kitchen-sink functions that are guaranteed to work with IE 4, **for your Yeoman generator or gulp plugin**!? Nonsense. | ||
- The benchmarks that accompany many of the functions in the library show that in some cases, the penalty for using such "kitchen-sink" code is a 2,000-5,000% reduction in speed. Sometimes greater. | ||
* I'm a node.js developer. I want fast, light, dependable utility functions for node.js projects. | ||
* Do you really need bloated, everything-but-the-kitchen-sink functions that are guaranteed to work with IE 4, **for your Yeoman generator or gulp plugin**!? Nonsense. | ||
* The benchmarks that accompany many of the functions in the library show that in some cases, the penalty for using such "kitchen-sink" code is a 2,000-5,000% reduction in speed. Sometimes greater. | ||
**Project goals** | ||
- Fastest implementation of each method, without too much compromise. Covering uncommon cases is fine, but don't go overboard. | ||
- Clean well-documented, commented code. | ||
- [When it makes sense](#adding-utils), external libraries are used and exposed instead of writing new code. | ||
- Focus on node.js usage and projects that are likely to use a number of these utils in one project. If you only need one or two of these in a small project, don't use this. Use small modules that do only one thing. | ||
* Fastest implementation of each method, without too much compromise. Covering uncommon cases is fine, but don't go overboard. | ||
* Clean well-documented, commented code. | ||
* [When it makes sense](#adding-utils), external libraries are used and exposed instead of writing new code. | ||
* Focus on node.js usage and projects that are likely to use a number of these utils in one project. If you only need one or two of these in a small project, don't use this. Use small modules that do only one thing. | ||
@@ -1124,25 +1123,25 @@ ## Related projects | ||
* [any](https://github.com/jonschlinkert/any): Returns `true` if a value exists in the given string,… [more](https://github.com/jonschlinkert/any) | ||
* [arr-diff](https://github.com/jonschlinkert/arr-diff): Returns an array with only the unique values from the… [more](https://github.com/jonschlinkert/arr-diff) | ||
* [arr-flatten](https://github.com/jonschlinkert/arr-flatten): Recursively flatten an array or arrays. This is the fastest… [more](https://github.com/jonschlinkert/arr-flatten) | ||
* [array-slice](https://github.com/jonschlinkert/array-slice): Array-slice method. Slices `array` from the `start` index up to, but not including, the `end`… [more](https://github.com/jonschlinkert/array-slice) | ||
* [any](https://github.com/jonschlinkert/any): Returns `true` if a value exists in the given string, array or object. | ||
* [arr-map](https://github.com/jonschlinkert/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | ||
* [arr-union](https://github.com/jonschlinkert/arr-union): Combines a list of arrays, returning a single array with… [more](https://github.com/jonschlinkert/arr-union) | ||
* [array-each](https://github.com/jonschlinkert/array-each): Loop over each item in an array and call the… [more](https://github.com/jonschlinkert/array-each) | ||
* [array-slice](https://github.com/jonschlinkert/array-slice): Array-slice method. Slices `array` from the `start` index up to,… [more](https://github.com/jonschlinkert/array-slice) | ||
* [arr-union](https://github.com/jonschlinkert/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union) | ||
* [array-each](https://github.com/jonschlinkert/array-each): Loop over each item in an array and call the given function on every element. | ||
* [arr-flatten](https://github.com/jonschlinkert/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | ||
* [array-unique](https://github.com/jonschlinkert/array-unique): Return an array free of duplicate values. Fastest ES5 implementation. | ||
* [arr-diff](https://github.com/jonschlinkert/arr-diff): Returns an array with only the unique values from the first array, by excluding all… [more](https://github.com/jonschlinkert/arr-diff) | ||
* [center-align](https://github.com/jonschlinkert/center-align): Center-align the text in a string. | ||
* [export-dirs](https://github.com/jonschlinkert/export-dirs): Export directories and their files as node.js modules. | ||
* [export-files](https://github.com/jonschlinkert/export-files): node.js utility for exporting a directory of files as modules. | ||
* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an… [more](https://github.com/jonschlinkert/for-in) | ||
* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and… [more](https://github.com/jonschlinkert/for-own) | ||
* [has-values](https://github.com/jonschlinkert/has-values): Returns true if any values exist, false if empty. Works… [more](https://github.com/jonschlinkert/has-values) | ||
* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in) | ||
* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | ||
* [has-values](https://github.com/jonschlinkert/has-values): Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings,… [more](https://github.com/jonschlinkert/has-values) | ||
* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor. | ||
* [is-number](https://github.com/jonschlinkert/is-number): Returns true if the value is a number. comprehensive tests. | ||
* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object`… [more](https://github.com/jonschlinkert/is-plain-object) | ||
* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value. | ||
* [make-iterator](https://github.com/jonschlinkert/make-iterator): Convert an argument into a valid iterator. Based on the… [more](https://github.com/jonschlinkert/make-iterator) | ||
* [object.defaults](https://github.com/jonschlinkert/object.defaults): Like `extend` but only copies missing properties/values to the target… [more](https://github.com/jonschlinkert/object.defaults) | ||
* [object.filter](https://github.com/jonschlinkert/object.filter): Create a new object filtered to have only properties for… [more](https://github.com/jonschlinkert/object.filter) | ||
* [object.omit](https://github.com/jonschlinkert/object.omit): Return a copy of an object without the given key,… [more](https://github.com/jonschlinkert/object.omit) | ||
* [object.pick](https://github.com/jonschlinkert/object.pick): Returns a filtered copy of an object with only the… [more](https://github.com/jonschlinkert/object.pick) | ||
* [object.reduce](https://github.com/jonschlinkert/object.reduce): Reduces an object to a value that is the accumulated… [more](https://github.com/jonschlinkert/object.reduce) | ||
* [make-iterator](https://github.com/jonschlinkert/make-iterator): Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout. | ||
* [object.defaults](https://github.com/jonschlinkert/object.defaults): Like `extend` but only copies missing properties/values to the target object. | ||
* [object.filter](https://github.com/jonschlinkert/object.filter): Create a new object filtered to have only properties for which the callback returns true. | ||
* [object.omit](https://github.com/jonschlinkert/object.omit): Return a copy of an object without the given key, or array of keys. | ||
* [object.pick](https://github.com/jonschlinkert/object.pick): Returns a filtered copy of an object with only the specified keys, like `pick` from… [more](https://github.com/jonschlinkert/object.pick) | ||
* [object.reduce](https://github.com/jonschlinkert/object.reduce): Reduces an object to a value that is the accumulated result of running each property… [more](https://github.com/jonschlinkert/object.reduce) | ||
* [right-align](https://github.com/jonschlinkert/right-align): Right-align the text in a string. | ||
@@ -1165,8 +1164,10 @@ * [word-wrap](https://github.com/jonschlinkert/word-wrap): Wrap words to a specified length. | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 25, 2015._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 28, 2015._ | ||
<!-- deps:mocha jshint-stylish --> | ||
<!-- reflinks generated by verb-reflinks plugin --> | ||
[verb]: https://github.com/assemble/verb | ||
[assemble]: http://assemble.io | ||
[template]: https://github.com/jonschlinkert/template | ||
[assemble]: http://assemble.io | ||
[verb]: https://github.com/assemble/verb |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12
62329
Updatedarray-each@^0.1.1