UNPKG

pending-queue

Version:

pending-queue ensures a certain asynchronous method only run once, and queues listeners which are registered to it.

48 lines (47 loc) 1.36 kB
{ "name": "pending-queue", "version": "1.2.1", "description": "pending-queue ensures a certain asynchronous method only run once, and queues listeners which are registered to it.", "main": "index.js", "scripts": { "build": "babel src --out-dir lib", "test": "npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s", "prepublish": "npm run build" }, "repository": { "type": "git", "url": "git://github.com/kaelzhang/node-pending-queue.git" }, "keywords": [ "pending-queue", "promise", "queue", "pending" ], "engines": { "node": ">=4" }, "author": "kaelzhang", "license": "MIT", "bugs": { "url": "https://github.com/kaelzhang/node-pending-queue/issues" }, "ava": { "require": "babel-register", "babel": { "babelrc": true } }, "devDependencies": { "ava": "^0.16.0", "babel-cli": "^6.16.0", "babel-plugin-syntax-trailing-function-commas": "^6.13.0", "babel-plugin-transform-class-properties": "^6.16.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.16.0", "babel-plugin-transform-exponentiation-operator": "^6.8.0", "babel-plugin-transform-inline-environment-variables": "^6.8.0", "babel-plugin-transform-object-rest-spread": "^6.16.0", "babel-preset-es2015": "^6.16.0", "delay": "^1.3.1" } }