@onestone/singleflight
Version:
Ensure only one execution is in-flight for a given key at a time
35 lines • 964 B
JSON
{
"name": "@onestone/singleflight",
"version": "0.0.3",
"description": "Ensure only one execution is in-flight for a given key at a time",
"main": "./dist/singleflight.js",
"exports": "./dist/singleflight.js",
"types": "./dist/singleflight.d.ts",
"keywords": [
"singleflight"
],
"author": "Peter Petrov <onestone@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/pesho/singleflight",
"repository": {
"type": "git",
"url": "git@github.com:pesho/singleflight.git"
},
"bugs": {
"url": "https://github.com/pesho/singleflight/issues"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@tsconfig/node22": "22.0.0",
"@types/node": "22.13.4",
"tsx": "4.19.2",
"typescript": "5.7.3"
},
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"check-types": "tsc --noEmit",
"lint": "biome check",
"test": "tsx --experimental-test-coverage --test 'src/**/*.test.ts'"
}
}