UNPKG

lock-queue

Version:

Simple locking mechanism to serialize (queue) access to a resource

55 lines (54 loc) 1.43 kB
{ "name": "lock-queue", "version": "1.0.1", "description": "Simple locking mechanism to serialize (queue) access to a resource", "main": "./lib/", "author": { "name": "Overlook Motel" }, "repository": { "type": "git", "url": "https://github.com/overlookmotel/lock-queue.git" }, "bugs": { "url": "https://github.com/overlookmotel/lock-queue/issues" }, "dependencies": { "bluebird": "^2.11.0", "promisify-any": "^2.0.1" }, "devDependencies": { "mocha": "^3.1.2", "chai": "^3.5.0", "jshint": "^2.9.3", "istanbul": "^0.4.5", "coveralls": "^2.11.4" }, "keywords": [ "lock", "queue", "locker", "locked", "release", "unlock", "async", "series", "wait", "promise", "generator" ], "scripts": { "test": "npm run jshint && npm run test-main", "jshint": "jshint lib test", "test-main": "mocha --check-leaks --colors -t 10000 --reporter spec 'test/**/*.test.js'", "cover": "npm run cover-main && rm -rf coverage", "coveralls": "npm run cover-main && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", "cover-main": "COVERAGE=true istanbul cover _mocha --report lcovonly -- -R spec 'test/**/*.test.js'", "travis": "if [ $COVERAGE ]; then npm run coveralls; else npm run test; fi" }, "engines": { "node": ">=0.10.0" }, "readmeFilename": "README.md", "license": "MIT" }