{
  "_id": "array-initial",
  "maintainers": [
    {
      "email": "blaine.bublitz@gmail.com",
      "name": "phated"
    },
    {
      "email": "brian.woodward@gmail.com",
      "name": "doowb"
    },
    {
      "email": "github@sellside.com",
      "name": "jonschlinkert"
    }
  ],
  "keywords": [
    "array",
    "fast",
    "first",
    "initial",
    "javascript",
    "js",
    "last",
    "rest",
    "util",
    "utility",
    "utils"
  ],
  "dist-tags": {
    "latest": "1.1.0"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "8-d26c899649ae08fac8653ea795e5b3e3",
  "description": "Get all but the last element or last n elements of an array.",
  "readme": "# array-initial [![NPM version](https://badge.fury.io/js/array-initial.svg)](http://badge.fury.io/js/array-initial)\n\n> Get all but the last element or last n elements of an array.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i array-initial --save\n```\n\n## Usage\n\n```js\nvar initial = require('array-initial');\n\ninitial(['a', 'b', 'c', 'd', 'e', 'f']);\n//=> ['a', 'b', 'c', 'd', 'e']\n\ninitial(['a', 'b', 'c', 'd', 'e', 'f'], 1);\n//=> ['a', 'b', 'c', 'd', 'e']\n\ninitial(['a', 'b', 'c', 'd', 'e', 'f'], 2);\n//=> ['a', 'b', 'c', 'd']\n```\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2014 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb](https://github.com/assemble/verb) on December 12, 2014. To update, run `npm i -g verb && verb`._\n",
  "repository": {
    "type": "git",
    "url": "git://github.com/jonschlinkert/array-initial.git"
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/array-initial/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "array-initial",
      "description": "Get all but the last element or last n elements of an array.",
      "version": "1.0.0",
      "homepage": "https://github.com/jonschlinkert/array-initial",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/array-initial.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/array-initial/issues"
      },
      "license": {
        "type": "MIT",
        "url": "https://github.com/jonschlinkert/array-initial/blob/master/LICENSE-MIT"
      },
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha -R spec"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^4.3.1"
      },
      "dependencies": {
        "array-slice": "^0.2.2",
        "is-number": "^0.1.1"
      },
      "keywords": [
        "array",
        "fast",
        "first",
        "initial",
        "javascript",
        "js",
        "last",
        "rest",
        "util",
        "utility",
        "utils"
      ],
      "_id": "array-initial@1.0.0",
      "_shasum": "09b13c58d56a050342e777ab6ffce595b108dad9",
      "_from": ".",
      "_npmVersion": "1.4.9",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "09b13c58d56a050342e777ab6ffce595b108dad9",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/array-initial/-/array-initial-1.0.0.tgz",
        "integrity": "sha512-U0zRrvB3QkfUlfXUidP0of2R336EnUTR+lgR5vu4bnCMwjEfZCwbSTPpxl0jZxdhrj50fKyVZKo6dkgQY6QIHw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBl7yJ2Zh5P/7GQLX7xB1icmu8SwDagycHXya+bzdu5jAiAJSo3gkYYSyxfHZYFNFIVjVqjL4mqWbGsX4cAOHfft9w=="
          }
        ]
      }
    },
    "1.0.1": {
      "name": "array-initial",
      "description": "Get all but the last element or last n elements of an array.",
      "version": "1.0.1",
      "homepage": "https://github.com/jonschlinkert/array-initial",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/array-initial.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/array-initial/issues"
      },
      "license": "MIT",
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha -R spec"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "^11.2.1"
      },
      "dependencies": {
        "array-slice": "^1.0.0",
        "is-number": "^3.0.0"
      },
      "keywords": [
        "array",
        "fast",
        "first",
        "initial",
        "javascript",
        "js",
        "last",
        "rest",
        "util",
        "utility",
        "utils"
      ],
      "gitHead": "e66f263359b48700a4aead4ea43599e5d0285267",
      "_id": "array-initial@1.0.1",
      "_shasum": "86122222a29c1ed42347f6334111afa40f8b20ec",
      "_from": ".",
      "_npmVersion": "2.15.1",
      "_nodeVersion": "0.10.48",
      "_npmUser": {
        "name": "phated",
        "email": "blaine.bublitz@gmail.com"
      },
      "maintainers": [
        {
          "email": "blaine.bublitz@gmail.com",
          "name": "phated"
        },
        {
          "email": "brian.woodward@gmail.com",
          "name": "doowb"
        },
        {
          "email": "github@sellside.com",
          "name": "jonschlinkert"
        }
      ],
      "dist": {
        "shasum": "86122222a29c1ed42347f6334111afa40f8b20ec",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/array-initial/-/array-initial-1.0.1.tgz",
        "integrity": "sha512-6A5PACwtKaK4EPaKkKZ9kqZOKCGUIUK70M9USdq/UY+Ndo6Pud/HzFnJc2S7uPcVgddKs4Q3JSXvm5idSl04Pw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQChZODXPDnaXNNwlupFpq5rgIuHOB47Xepz8PCvyf/HLQIhAKP0PuLjRhBoaYZzsY0ftO7kpEzDP6nozK93WEqt8Fz+"
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/array-initial-1.0.1.tgz_1501706626783_0.21693921997211874"
      }
    },
    "1.1.0": {
      "name": "array-initial",
      "description": "Get all but the last element or last n elements of an array.",
      "version": "1.1.0",
      "homepage": "https://github.com/jonschlinkert/array-initial",
      "author": {
        "name": "Jon Schlinkert",
        "url": "https://github.com/jonschlinkert"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/jonschlinkert/array-initial.git"
      },
      "bugs": {
        "url": "https://github.com/jonschlinkert/array-initial/issues"
      },
      "license": "MIT",
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha -R spec"
      },
      "devDependencies": {
        "mocha": "^2.0.0",
        "should": "^11.2.1"
      },
      "dependencies": {
        "array-slice": "^1.0.0",
        "is-number": "^4.0.0"
      },
      "keywords": [
        "array",
        "fast",
        "first",
        "initial",
        "javascript",
        "js",
        "last",
        "rest",
        "util",
        "utility",
        "utils"
      ],
      "gitHead": "2698ecd882914f04a3eb0d2277e61158b271e161",
      "_id": "array-initial@1.1.0",
      "_shasum": "2fa74b26739371c3947bd7a7adc73be334b3d795",
      "_from": ".",
      "_npmVersion": "2.15.1",
      "_nodeVersion": "0.10.48",
      "_npmUser": {
        "name": "phated",
        "email": "blaine.bublitz@gmail.com"
      },
      "maintainers": [
        {
          "email": "blaine.bublitz@gmail.com",
          "name": "phated"
        },
        {
          "email": "brian.woodward@gmail.com",
          "name": "doowb"
        },
        {
          "email": "github@sellside.com",
          "name": "jonschlinkert"
        }
      ],
      "dist": {
        "shasum": "2fa74b26739371c3947bd7a7adc73be334b3d795",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/array-initial/-/array-initial-1.1.0.tgz",
        "integrity": "sha512-BC4Yl89vneCYfpLrs5JU2aAu9/a+xWbeKhvISg9PT7eWFB9UlRvI+rKEtk6mgxWr3dSkk9gQ8hCrdqt06NXPdw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCbKwIeVqUxjGNkoX9QUnLD+O51UZ3lxf3i8MAym/TJAgIgG52nY6zvSGsEg18Op0784VavxcFf/Tto21Tv1EUtsCE="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/array-initial-1.1.0.tgz_1512510642418_0.28039158787578344"
      }
    }
  },
  "name": "array-initial",
  "time": {
    "modified": "2026-05-20T15:56:45.891Z",
    "created": "2014-12-12T10:48:57.612Z",
    "1.0.0": "2014-12-12T10:48:57.612Z",
    "1.0.1": "2017-08-02T20:43:46.868Z",
    "1.1.0": "2017-12-05T21:50:42.510Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/array-initial"
}