UNPKG

one-firework

Version:

A library for singal use function execution.

51 lines (50 loc) 1.17 kB
{ "name": "one-firework", "version": "0.0.5", "description": "A library for singal use function execution.", "license": "MIT", "homepage": "https://onefirework.vercel.app/", "repository": "https://github.com/vikramnagwal/one-firework", "type": "module", "author": { "name": "Vikram Singh", "email": "vikramnagwal@gmail.com" }, "scripts": { "build": "bun build index.ts --outdir ./dist --format esm && tsc --emitDeclarationOnly --outDir ./dist", "test": "bun run firework.test.ts", "prepublishOnly": "bun run build" }, "devDependencies": { "@types/bun": "latest", "uvu": "^0.5.6" }, "dependencies": { "mimic-function": "^5.0.1" }, "keywords": [ "once", "single execution", "run once", "only once", "execution guard", "side-effect control", "fire-and-forget", "firework", "single", "function execution controller", "function execution guard", "prevent", "solo", "singleton", "singleton function", "one execution" ], "files": [ "dist", "README.md", "LICENSE" ], "main": "./dist/index.js", "types": "./dist/index.d.ts" }