152 lines
7.3 KiB
JSON
152 lines
7.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "arr-flatten@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "arr-flatten",
|
|
"name": "arr-flatten",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/arr-diff"
|
|
]
|
|
],
|
|
"_from": "arr-flatten@>=1.0.1 <2.0.0",
|
|
"_id": "arr-flatten@1.1.0",
|
|
"_inCache": true,
|
|
"_location": "/arr-flatten",
|
|
"_nodeVersion": "7.7.3",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/arr-flatten-1.1.0.tgz_1499280630530_0.4138362631201744"
|
|
},
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "5.0.4",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "arr-flatten@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "arr-flatten",
|
|
"name": "arr-flatten",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/arr-diff"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
|
|
"_shasum": "36048bbff4e7b47e136644316c99669ea5ae91f1",
|
|
"_shrinkwrap": null,
|
|
"_spec": "arr-flatten@^1.0.1",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/arr-diff",
|
|
"author": {
|
|
"name": "Jon Schlinkert",
|
|
"url": "https://github.com/jonschlinkert"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/arr-flatten/issues"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Jon Schlinkert",
|
|
"url": "http://twitter.com/jonschlinkert"
|
|
},
|
|
{
|
|
"name": "Luke Edwards",
|
|
"url": "https://lukeed.com"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"description": "Recursively flatten an array or arrays.",
|
|
"devDependencies": {
|
|
"ansi-bold": "^0.1.1",
|
|
"array-flatten": "^2.1.1",
|
|
"array-slice": "^1.0.0",
|
|
"benchmarked": "^1.0.0",
|
|
"compute-flatten": "^1.0.0",
|
|
"flatit": "^1.1.1",
|
|
"flatten": "^1.0.2",
|
|
"flatten-array": "^1.0.0",
|
|
"glob": "^7.1.1",
|
|
"gulp-format-md": "^0.1.12",
|
|
"just-flatten-it": "^1.1.23",
|
|
"lodash.flattendeep": "^4.4.0",
|
|
"m_flattened": "^1.0.1",
|
|
"mocha": "^3.2.0",
|
|
"utils-flatten": "^1.0.0",
|
|
"write": "^0.3.3"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
|
|
"shasum": "36048bbff4e7b47e136644316c99669ea5ae91f1",
|
|
"tarball": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "76a1ae28b03fdb1cbe5d49fa521bc4807b9f94d3",
|
|
"homepage": "https://github.com/jonschlinkert/arr-flatten",
|
|
"keywords": [
|
|
"arr",
|
|
"array",
|
|
"elements",
|
|
"flat",
|
|
"flatten",
|
|
"nested",
|
|
"recurse",
|
|
"recursive",
|
|
"recursively"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
}
|
|
],
|
|
"name": "arr-flatten",
|
|
"optionalDependencies": {},
|
|
"readme": "# arr-flatten [![NPM version](https://img.shields.io/npm/v/arr-flatten.svg?style=flat)](https://www.npmjs.com/package/arr-flatten) [![NPM monthly downloads](https://img.shields.io/npm/dm/arr-flatten.svg?style=flat)](https://npmjs.org/package/arr-flatten) [![NPM total downloads](https://img.shields.io/npm/dt/arr-flatten.svg?style=flat)](https://npmjs.org/package/arr-flatten) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/arr-flatten.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/arr-flatten) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/arr-flatten.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/arr-flatten)\n\n> Recursively flatten an array or arrays.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save arr-flatten\n```\n\n## Install\n\nInstall with [bower](https://bower.io/)\n\n```sh\n$ bower install arr-flatten --save\n```\n\n## Usage\n\n```js\nvar flatten = require('arr-flatten');\n\nflatten(['a', ['b', ['c']], 'd', ['e']]);\n//=> ['a', 'b', 'c', 'd', 'e']\n```\n\n## Why another flatten utility?\n\nI wanted the fastest implementation I could find, with implementation choices that should work for 95% of use cases, but no cruft to cover the other 5%.\n\n## About\n\n### Related projects\n\n* [arr-filter](https://www.npmjs.com/package/arr-filter): Faster alternative to javascript's native filter method. | [homepage](https://github.com/jonschlinkert/arr-filter \"Faster alternative to javascript's native filter method.\")\n* [arr-union](https://www.npmjs.com/package/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union) | [homepage](https://github.com/jonschlinkert/arr-union \"Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.\")\n* [array-each](https://www.npmjs.com/package/array-each): Loop over each item in an array and call the given function on every element. | [homepage](https://github.com/jonschlinkert/array-each \"Loop over each item in an array and call the given function on every element.\")\n* [array-unique](https://www.npmjs.com/package/array-unique): Remove duplicate values from an array. Fastest ES5 implementation. | [homepage](https://github.com/jonschlinkert/array-unique \"Remove duplicate values from an array. Fastest ES5 implementation.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 20 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [lukeed](https://github.com/lukeed) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 05, 2017._",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jonschlinkert/arr-flatten.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"verb": {
|
|
"toc": false,
|
|
"layout": "default",
|
|
"tasks": [
|
|
"readme"
|
|
],
|
|
"plugins": [
|
|
"gulp-format-md"
|
|
],
|
|
"related": {
|
|
"list": [
|
|
"arr-filter",
|
|
"arr-union",
|
|
"array-each",
|
|
"array-unique"
|
|
]
|
|
},
|
|
"lint": {
|
|
"reflinks": true
|
|
}
|
|
},
|
|
"version": "1.1.0"
|
|
}
|