{
  "_id": "flatten",
  "maintainers": [
    {
      "email": "josh.holbrook@gmail.com",
      "name": "jesusabdullah"
    },
    {
      "email": "mk+npmjs+2fa@pimpmybyte.de",
      "name": "mk-pmb-2fa"
    }
  ],
  "keywords": [
    "array",
    "flatten"
  ],
  "dist-tags": {
    "latest": "1.0.3"
  },
  "author": {
    "name": "Joshua Holbrook",
    "email": "josh.holbrook@gmail.com",
    "url": "http://jesusabdullah.net"
  },
  "_rev": "31-6cb25096040eab467532dbf1d10784ee",
  "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.",
  "readme": "# flatten\n\nA tiny utility to flatten arrays of arrays (of arrays, etc., recursively, infinitely or to an optional depth) into a single array of non-arrays.\n\n## example:\n\n```js\n> var flatten = require('flatten');\nundefined\n> flatten([1, [2, 3], [4, 5, 6], [7, [8, 9]], 10])\n[ 1,\n  2,\n  3,\n  4,\n  5,\n  6,\n  7,\n  8,\n  9,\n  10 ]\n> flatten([1, [2, [3, [4, [5]]]]], 2)\n[ 1,\n  2,\n  3,\n  [ 4, [ 5 ] ] ]\n```\n\n## install:\n\n    npm install flatten\n\n## license:\n\nMIT/X11.\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mk-pmb/flatten-js.git"
  },
  "users": {
    "joje": true,
    "rochejul": true,
    "shreyawhiz": true,
    "jream": true
  },
  "bugs": {
    "url": "https://github.com/mk-pmb/flatten-js/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.0": {
      "author": {
        "name": "Joshua Holbrook",
        "email": "josh.holbrook@gmail.com",
        "url": "http://jesusabdullah.net"
      },
      "name": "flatten",
      "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items",
      "version": "0.0.0",
      "repository": {
        "type": "git",
        "url": "git://github.com/jesusabdullah/node-flatten.git"
      },
      "main": "./index.js",
      "scripts": {
        "test": "node ./test.js"
      },
      "dependencies": {},
      "devDependencies": {},
      "optionalDependencies": {},
      "engines": {
        "node": "*"
      },
      "_npmUser": {
        "name": "jesusabdullah",
        "email": "josh.holbrook@gmail.com"
      },
      "_id": "flatten@0.0.0",
      "_engineSupported": true,
      "_npmVersion": "1.1.21",
      "_nodeVersion": "v0.6.18",
      "_defaultsLoaded": true,
      "dist": {
        "shasum": "5088c6ac84e208dfaa920baa4bf86e7ba047ec16",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/flatten/-/flatten-0.0.0.tgz",
        "integrity": "sha512-9Bn2sukl8Z4Zwm2l9iFTGuZC5tFqCdcJJGTOGNxfVonExKYTgHjkCJH4I5G19MJfhGZa1l/l0IP0APzkt7wwLw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDx6VKKimVL+2YHeiDaIQN6yBKDuug6W8X9vdvKsUUhWAIhAIz9bCUA8sUpvPyIPy7lbkCG2UslK6vcngScBHXvVAlT"
          }
        ]
      },
      "maintainers": [
        {
          "name": "jesusabdullah",
          "email": "josh.holbrook@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash."
    },
    "0.0.1": {
      "author": {
        "name": "Joshua Holbrook",
        "email": "josh.holbrook@gmail.com",
        "url": "http://jesusabdullah.net"
      },
      "name": "flatten",
      "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items",
      "version": "0.0.1",
      "repository": {
        "type": "git",
        "url": "git://github.com/jesusabdullah/node-flatten.git"
      },
      "main": "./index.js",
      "scripts": {
        "test": "node ./test.js"
      },
      "dependencies": {},
      "devDependencies": {},
      "optionalDependencies": {},
      "engines": {
        "node": "*"
      },
      "_npmUser": {
        "name": "jesusabdullah",
        "email": "josh.holbrook@gmail.com"
      },
      "_id": "flatten@0.0.1",
      "_engineSupported": true,
      "_npmVersion": "1.1.21",
      "_nodeVersion": "v0.6.18",
      "_defaultsLoaded": true,
      "dist": {
        "shasum": "554440766da0a0d603999f433453f6c2fc6a75c1",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/flatten/-/flatten-0.0.1.tgz",
        "integrity": "sha512-pzNZh42/A2HmcRIpddSP0T+zBofd119o5rNB2u1YHv36CM2C/ietI2ZsjWZ2LSL7J0BNVkFn1a9Ad+cmO2lDQg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIDaG+pAK2Z4VjV6DsjsIbpg/tvFAhUDhFNLs/VOV6jiEAiAH5bxVxu7x2uVayRXSNGYiqn6DwAhqPfs3RAgPpBLHjQ=="
          }
        ]
      },
      "maintainers": [
        {
          "name": "jesusabdullah",
          "email": "josh.holbrook@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash."
    },
    "1.0.0": {
      "author": {
        "name": "Joshua Holbrook",
        "email": "josh.holbrook@gmail.com",
        "url": "http://jesusabdullah.net"
      },
      "name": "flatten",
      "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items",
      "version": "1.0.0",
      "repository": {
        "type": "git",
        "url": "git://github.com/jesusabdullah/node-flatten.git"
      },
      "main": "./index.js",
      "scripts": {
        "test": "node ./test.js"
      },
      "dependencies": {},
      "devDependencies": {},
      "optionalDependencies": {},
      "engines": {
        "node": "*"
      },
      "gitHead": "2fee40bb40bf725e770f345de30972debf507da5",
      "bugs": {
        "url": "https://github.com/jesusabdullah/node-flatten/issues"
      },
      "homepage": "https://github.com/jesusabdullah/node-flatten#readme",
      "_id": "flatten@1.0.0",
      "_shasum": "089998ca36732d97c1505b099c8d3d1fe31a26d1",
      "_from": ".",
      "_npmVersion": "3.5.2",
      "_nodeVersion": "4.2.1",
      "_npmUser": {
        "name": "jfhbrook",
        "email": "josh.holbrook@gmail.com"
      },
      "dist": {
        "shasum": "089998ca36732d97c1505b099c8d3d1fe31a26d1",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/flatten/-/flatten-1.0.0.tgz",
        "integrity": "sha512-755zFQSvsSTgBy+N0Zr+t/2qEKjWBLPHXEaahZF7uBzu5OVlq0Au5II3vPx0y5jKgxFMxarNpldavSqiOHrDcQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDiYLhc4/VpM4mg6Hud8RxzSxqHeM0zwgtvbVjEbd8tNwIgdRUT0+ZEzm7P+dV97KRdK8iqT2SFHUWOtdWRBo6gtyk="
          }
        ]
      },
      "maintainers": [
        {
          "name": "jesusabdullah",
          "email": "josh.holbrook@gmail.com"
        },
        {
          "name": "jfhbrook",
          "email": "josh.holbrook@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash."
    },
    "1.0.1": {
      "author": {
        "name": "Joshua Holbrook",
        "email": "josh.holbrook@gmail.com",
        "url": "http://jesusabdullah.net"
      },
      "name": "flatten",
      "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items",
      "version": "1.0.1",
      "repository": {
        "type": "git",
        "url": "git://github.com/jesusabdullah/node-flatten.git"
      },
      "main": "./index.js",
      "scripts": {
        "test": "node ./test.js"
      },
      "dependencies": {},
      "devDependencies": {},
      "optionalDependencies": {},
      "engines": {
        "node": "*"
      },
      "gitHead": "05c1bb4de9543b9c3a15a0355a1285b9ccd59d3b",
      "bugs": {
        "url": "https://github.com/jesusabdullah/node-flatten/issues"
      },
      "homepage": "https://github.com/jesusabdullah/node-flatten#readme",
      "_id": "flatten@1.0.1",
      "_shasum": "0c63514ad167398a49b7504d50b56f9b1d7217a3",
      "_from": ".",
      "_npmVersion": "3.5.2",
      "_nodeVersion": "4.2.1",
      "_npmUser": {
        "name": "jfhbrook",
        "email": "josh.holbrook@gmail.com"
      },
      "dist": {
        "shasum": "0c63514ad167398a49b7504d50b56f9b1d7217a3",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/flatten/-/flatten-1.0.1.tgz",
        "integrity": "sha512-o2qthi3ROoMN77Xj40/39a5VxamDay1gxhAPogAed7Pra4ksGkRLDQ/tra1Q27tGT2tdLeCMmwKlgifSQIpgQA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQD0ySR2Lb1559j6moqOPyJeigCcGT7Ov42sb3ikIvk2kQIhANkdiJ/Dz/Tm1IaKAjpbBkPBrMNgNUVnGoB74ks4Vj4f"
          }
        ]
      },
      "maintainers": [
        {
          "name": "jesusabdullah",
          "email": "josh.holbrook@gmail.com"
        },
        {
          "name": "jfhbrook",
          "email": "josh.holbrook@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash."
    },
    "1.0.2": {
      "author": {
        "name": "Joshua Holbrook",
        "email": "josh.holbrook@gmail.com",
        "url": "http://jesusabdullah.net"
      },
      "name": "flatten",
      "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items",
      "version": "1.0.2",
      "repository": {
        "type": "git",
        "url": "git://github.com/jesusabdullah/node-flatten.git"
      },
      "main": "./index.js",
      "scripts": {
        "test": "node ./test.js"
      },
      "license": "MIT",
      "dependencies": {},
      "devDependencies": {},
      "optionalDependencies": {},
      "engines": {
        "node": "*"
      },
      "gitHead": "ef62d459a529ee04540f10927a28a3143dfd7875",
      "bugs": {
        "url": "https://github.com/jesusabdullah/node-flatten/issues"
      },
      "homepage": "https://github.com/jesusabdullah/node-flatten#readme",
      "_id": "flatten@1.0.2",
      "_shasum": "dae46a9d78fbe25292258cc1e780a41d95c03782",
      "_from": ".",
      "_npmVersion": "3.5.2",
      "_nodeVersion": "4.2.1",
      "_npmUser": {
        "name": "jfhbrook",
        "email": "josh.holbrook@gmail.com"
      },
      "dist": {
        "shasum": "dae46a9d78fbe25292258cc1e780a41d95c03782",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/flatten/-/flatten-1.0.2.tgz",
        "integrity": "sha512-6u/bzbUK+6iOENlqGFkl94EqdAL/FVRhxMWbAE0OBmRsBl64BESxvVRD3CWdilAeka/3WlEZP+0MrKvtYpYFQQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCj+04v70pcMxTM+2LrjfiRgY+j1b74uvC2DqFgToTDBQIgYmTDrsUFeMZFgEpUjEYzHsHwAr9qvVjsdsJiRTqLpGg="
          }
        ]
      },
      "maintainers": [
        {
          "name": "jesusabdullah",
          "email": "josh.holbrook@gmail.com"
        },
        {
          "name": "jfhbrook",
          "email": "josh.holbrook@gmail.com"
        }
      ],
      "directories": {},
      "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash."
    },
    "1.0.3": {
      "name": "flatten",
      "version": "1.0.3",
      "description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.",
      "keywords": [
        "array",
        "flatten"
      ],
      "author": {
        "name": "Joshua Holbrook",
        "email": "josh.holbrook@gmail.com",
        "url": "http://jesusabdullah.net"
      },
      "homepage": "https://github.com/mk-pmb/flatten-js/#readme",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mk-pmb/flatten-js.git"
      },
      "bugs": {
        "url": "https://github.com/mk-pmb/flatten-js/issues"
      },
      "contributors": [
        {
          "name": "M.K.",
          "url": "https://github.com/mk-pmb"
        }
      ],
      "private": false,
      "license": "MIT",
      "scripts": {
        "test": "node ./test.js"
      },
      "directories": {
        "test": "test"
      },
      "dependencies": {},
      "devDependencies": {},
      "optionalDependencies": {},
      "npm vs. BOM = Unexpected token": "-*- coding: UTF-8 -*-",
      "gitHead": "5de8fae5a5b32290f31d83fcb402fedbc86373e3",
      "_id": "flatten@1.0.3",
      "_npmVersion": "6.4.1",
      "_nodeVersion": "8.16.1",
      "_npmUser": {
        "name": "mk-pmb",
        "email": "mk+npmjs@pimpmybyte.de"
      },
      "dist": {
        "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==",
        "shasum": "c1283ac9f27b368abc1e36d1ff7b04501a30356b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/flatten/-/flatten-1.0.3.tgz",
        "fileCount": 5,
        "unpackedSize": 3680,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdukpnCRA9TVsSAnZWagAAPpcQAIHpvVTj8CLcgCu2/7kf\ntQQiK74iUrdwGQ08ZjY8/E5HJvxJAS4fPmQDrg45d60jJine00yHrtELvGIm\na2srlnDqFku82W+NkQCYzPKhY0gDW1rqZCeTxIQg8/S64cK6VZ2YZ3xzuU5d\nhuMzAibH58JK4eG3dzAUCvRpiXj6bYUR33fAwoOieeJxWcSvo/TinDvye4g5\nurUnOjM89YC77vl/0l4pKu2S1BLWKrvi9KsXlfwvw6Nm53hAj2YbjO1iujHk\n904PADiutK9qQq2T5ZzWZ/IiCFf51y1lD49gPIc5OQq28A0mg5B1wWInFZ3F\n6ipwBWz8d3UOu+6lXAevRUzDptZmUfm4kA33SSP9PMBZVqozRuN+HSftQtvK\n0FmxOL468UKtMzkXcBvSgHlXducFuJRkfbw3YghSmxn+GIl0P7EdNuLieUSb\naDObkqtttH6NUoaHihf+VnRsnYmabONWVae7K+hqCMvqQbevgSDl6fvWruC2\n0fUlAjm/njiIfJcsHSNFd/irtCUE3nveAo8l0sLiXJSqWzgHwRgmZ7RjO1jX\npTAo0ZUpEv1KqZPaIv+vLkrnCMCA0iqk2KXSofiBOIQFrmOJEpUpTS37jjMs\nBPlaWcq3ihugup+dD+0d0uN7ygh6/yLt1u7liPCip5q23pKNdAAPcPHavxHH\nAj0H\r\n=8CT+\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIFuuIBPqjFFGXkKwFV19iIfG54DcQEtpil9MUYSaBDYMAiEAqRTbN6pbuGIRSdmcHlFS/oXXfJTrcsqtJop8/O/AKY4="
          }
        ]
      },
      "maintainers": [
        {
          "email": "josh.holbrook@gmail.com",
          "name": "jesusabdullah"
        },
        {
          "email": "josh.holbrook@gmail.com",
          "name": "jfhbrook"
        },
        {
          "email": "mk+npmjs@pimpmybyte.de",
          "name": "mk-pmb"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/flatten_1.0.3_1572489831247_0.34710827259766996"
      },
      "_hasShrinkwrap": false,
      "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash."
    }
  },
  "name": "flatten",
  "time": {
    "modified": "2026-05-26T09:46:43.618Z",
    "created": "2012-06-28T02:21:26.460Z",
    "0.0.0": "2012-06-28T02:21:27.901Z",
    "0.0.1": "2012-06-28T02:40:18.232Z",
    "1.0.0": "2016-01-20T00:45:01.565Z",
    "1.0.1": "2016-01-20T00:56:04.340Z",
    "1.0.2": "2016-01-20T01:00:17.869Z",
    "1.0.3": "2019-10-31T02:43:51.363Z"
  },
  "readmeFilename": "README.md",
  "contributors": [
    {
      "name": "M.K.",
      "url": "https://github.com/mk-pmb"
    }
  ],
  "homepage": "https://github.com/mk-pmb/flatten-js/#readme"
}