defer-close
Version:
A lightweight utility for adding JavaScript's Disposable and AsyncDisposable interfaces to any object
45 lines (44 loc) • 954 B
JSON
{
"name": "defer-close",
"version": "1.1.0",
"description": "A lightweight utility for adding JavaScript's Disposable and AsyncDisposable interfaces to any object",
"module": "index.ts",
"main": "index.js",
"type": "module",
"scripts": {
"test": "bun test",
"build": "bun build index.ts --outdir ./dist --target node",
"prepublishOnly": "bun run build",
"prepare": "husky"
},
"files": [
"index.ts",
"index.js",
"dist"
],
"keywords": [
"disposable",
"asyncdisposable",
"cleanup",
"resource",
"using",
"typescript"
],
"author": "snomiao",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/snomiao/defer-close.git"
},
"devDependencies": {
"@types/bun": "latest",
"husky": "^9.1.7",
"semantic-release": "^24.2.5"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@types/jest": "^29.5.14"
}
}