promise-make-counter
Version:
A simple function that makes a counter-based promise, which can be incremented and decremented, and it resolves once its counter reaches zero.
34 lines (33 loc) • 878 B
JSON
{
"name": "promise-make-counter",
"repository": "github:fabiospampinato/promise-make-counter",
"description": "A simple function that makes a counter-based promise, which can be incremented and decremented, and it resolves once its counter reaches zero.",
"license": "MIT",
"version": "1.0.2",
"type": "module",
"main": "dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "tsex clean",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"test": "tsex test",
"test:watch": "tsex test --watch",
"prepublishOnly": "tsex prepare"
},
"keywords": [
"promise",
"make",
"counter",
"reference"
],
"dependencies": {
"promise-make-naked": "^3.0.2"
},
"devDependencies": {
"fava": "^0.3.4",
"tsex": "^4.0.2",
"typescript": "^5.7.3"
}
}