UNPKG

call-hooks

Version:

Function for adding before/after/call/arguments/result hooks to another function.

35 lines (34 loc) 863 B
{ "name": "call-hooks", "repository": "github:fabiospampinato/call-hooks", "description": "Function for adding before/after/call/arguments/result hooks to another function.", "license": "MIT", "version": "2.0.2", "type": "module", "main": "dist/index.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "benchmark": "tsex benchmark", "benchmark:watch": "tsex benchmark --watch", "clean": "tsex clean", "compile": "tsex compile", "compile:watch": "tsex compile --watch", "test": "tsex test", "test:watch": "tsex test --watch", "prepublishOnly": "tsex prepare" }, "keywords": [ "call", "hooks", "function", "override", "intercept" ], "devDependencies": { "fava": "^0.3.4", "benchloop": "^2.1.1", "tsex": "^4.0.2", "typescript": "^5.7.3" } }