package.json 4.2 KB
{
  "_args": [
    [
      {
        "raw": "array-series@~0.1.5",
        "scope": null,
        "escapedName": "array-series",
        "name": "array-series",
        "rawSpec": "~0.1.5",
        "spec": ">=0.1.5 <0.2.0",
        "type": "range"
      },
      "/Users/fzy/project/koa2_Sequelize_project/node_modules/gm"
    ]
  ],
  "_from": "array-series@>=0.1.5 <0.2.0",
  "_id": "array-series@0.1.5",
  "_inCache": true,
  "_location": "/array-series",
  "_npmUser": {
    "name": "jongleberry",
    "email": "jonathanrichardong@gmail.com"
  },
  "_npmVersion": "1.3.17",
  "_phantomChildren": {},
  "_requested": {
    "raw": "array-series@~0.1.5",
    "scope": null,
    "escapedName": "array-series",
    "name": "array-series",
    "rawSpec": "~0.1.5",
    "spec": ">=0.1.5 <0.2.0",
    "type": "range"
  },
  "_requiredBy": [
    "/gm"
  ],
  "_resolved": "https://registry.npmjs.org/array-series/-/array-series-0.1.5.tgz",
  "_shasum": "df5d37bfc5c2ef0755e2aa4f92feae7d4b5a972f",
  "_shrinkwrap": null,
  "_spec": "array-series@~0.1.5",
  "_where": "/Users/fzy/project/koa2_Sequelize_project/node_modules/gm",
  "author": {
    "name": "Jonathan Ong",
    "email": "me@jongleberry.com",
    "url": "http://jongleberry.com"
  },
  "bugs": {
    "url": "https://github.com/component/array-series/issues",
    "email": "me@jongleberry.com"
  },
  "dependencies": {},
  "description": "Call an array of asynchronous functions in series",
  "devDependencies": {},
  "directories": {},
  "dist": {
    "shasum": "df5d37bfc5c2ef0755e2aa4f92feae7d4b5a972f",
    "tarball": "https://registry.npmjs.org/array-series/-/array-series-0.1.5.tgz"
  },
  "homepage": "https://github.com/component/array-series#readme",
  "license": "MIT",
  "maintainers": [
    {
      "name": "jongleberry",
      "email": "jonathanrichardong@gmail.com"
    }
  ],
  "name": "array-series",
  "optionalDependencies": {},
  "readme": "# Array Series [![Build Status](https://travis-ci.org/component/array-series.png)](https://travis-ci.org/component/array-series)\n\nCall an array of asynchronous functions in series\n\n### API\n\n#### series(fns[, context[, callback]])\n\n```js\nvar series = require('array-series')\n\nseries([\n  function (done) {\n    done()\n  }\n], this, function (err) {\n\n})\n```\n\n#### fns\n\n`fns` is an array of functions to call in series.\nThe argument signature should be:\n\n```js\nfunction (done) {\n  done(new Error())\n  // or\n  done()\n}\n```\n\nThat is, each function should only take a `done` as an argument.\nEach callback should only take an optional `Error` as an argument.\n\n#### context\n\nOptional context to pass to each `fn`.\nBasically `fn.call(context, done)`.\n\n#### callback(err)\n\n```js\nfunction (err) {\n\n}\n```\n\nOnly argument is an `Error` argument.\nIt will return the first error in the series of functions that returns an error,\nand no function after will be called.\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Jonathan Ong me@jongleberry.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/component/array-series.git"
  },
  "scripts": {
    "test": "node test"
  },
  "version": "0.1.5"
}