UNPKG

delayable-setinterval

Version:

An asynchronous setInterval that can be delayed using promises

43 lines (42 loc) 1.12 kB
{ "name": "delayable-setinterval", "version": "1.0.1", "description": "An asynchronous setInterval that can be delayed using promises", "main": "dist/index.js", "scripts": { "build": "npm run clean && tsc", "clean": "rimraf dist", "prepublishOnly": "npm run build", "test": "npm run build && npm run test:specs", "test:specs": "nyc mocha -r test/index.js 'test/specs/**/*.spec.js'" }, "files": [ "dist/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/perry-mitchell/delayable-setinterval.git" }, "keywords": [ "setinterval", "settimeout", "async", "promise", "delay" ], "author": "Perry Mitchell <perry@perrymitchell.net>", "license": "MIT", "bugs": { "url": "https://github.com/perry-mitchell/delayable-setinterval/issues" }, "homepage": "https://github.com/perry-mitchell/delayable-setinterval#readme", "devDependencies": { "chai": "^4.2.0", "mocha": "^6.1.3", "nyc": "^13.3.0", "rimraf": "^3.0.2", "sinon": "^7.3.1", "sleep-promise": "^8.0.1", "typescript": "^4.6.4" } }