Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
code / usr / share / code / resources / app / node_modules / pend / package.json
Size: Mime:
{
  "_args": [
    [
      "pend@https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
      "/vso/work/3/s"
    ]
  ],
  "_from": "pend@>=1.2.0 <1.3.0",
  "_id": "pend@1.2.0",
  "_inCache": true,
  "_location": "/pend",
  "_phantomChildren": {},
  "_requested": {
    "name": "pend",
    "raw": "pend@https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
    "rawSpec": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/fd-slicer",
    "/yauzl"
  ],
  "_resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
  "_shasum": "7a57eb550a6783f9115331fcf4663d5c8e007a50",
  "_shrinkwrap": null,
  "_spec": "pend@https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
  "_where": "/vso/work/3/s",
  "author": {
    "email": "superjoe30@gmail.com",
    "name": "Andrew Kelley"
  },
  "bugs": {
    "url": "https://github.com/andrewrk/node-pend/issues"
  },
  "dependencies": {},
  "description": "dead-simple optimistic async helper",
  "devDependencies": {},
  "homepage": "https://github.com/andrewrk/node-pend#readme",
  "license": "MIT",
  "main": "index.js",
  "name": "pend",
  "optionalDependencies": {},
  "readme": "# Pend\n\nDead-simple optimistic async helper.\n\n## Usage\n\n```js\nvar Pend = require('pend');\nvar pend = new Pend();\npend.max = 10; // defaults to Infinity\nsetTimeout(pend.hold(), 1000); // pend.wait will have to wait for this hold to finish\npend.go(function(cb) {\n  console.log(\"this function is immediately executed\");\n  setTimeout(function() {\n    console.log(\"calling cb 1\");\n    cb();\n  }, 500);\n});\npend.go(function(cb) {\n  console.log(\"this function is also immediately executed\");\n  setTimeout(function() {\n    console.log(\"calling cb 2\");\n    cb();\n  }, 1000);\n});\npend.wait(function(err) {\n  console.log(\"this is excuted when the first 2 have returned.\");\n  console.log(\"err is a possible error in the standard callback style.\");\n});\n```\n\nOutput:\n\n```\nthis function is immediately executed\nthis function is also immediately executed\ncalling cb 1\ncalling cb 2\nthis is excuted when the first 2 have returned.\nerr is a possible error in the standard callback style.\n```\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/andrewrk/node-pend.git"
  },
  "scripts": {
    "test": "node test.js"
  },
  "version": "1.2.0"
}