UNPKG

custom-function

Version:

Literally the only sane way, if not the fastest one, to extend the Function class without evaluation

54 lines (53 loc) 1.45 kB
{ "name": "custom-function", "version": "2.0.0", "description": "Literally the only sane way, if not the fastest one, to extend the Function class without evaluation", "main": "./cjs/index.js", "scripts": { "build": "npm run cjs && npm run test", "bench": "node test/benchmark.js", "cjs": "ascjs --no-default esm cjs", "test": "c8 node test/index.js", "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info" }, "keywords": [ "Function", "class", "extend" ], "author": "Andrea Giammarchi", "license": "MIT", "devDependencies": { "ascjs": "^6.0.3", "c8": "^10.1.2" }, "module": "./esm/index.js", "type": "module", "exports": { ".": { "import": "./esm/index.js", "default": "./cjs/index.js" }, "./closure": { "import": "./esm/factory.js", "default": "./cjs/factory.js" }, "./closure-factory": { "import": "./esm/closure-factory.js", "default": "./cjs/closure-factory.js" }, "./factory": { "import": "./esm/factory.js", "default": "./cjs/factory.js" }, "./package.json": "./package.json" }, "repository": { "type": "git", "url": "git+https://github.com/WebReflection/custom-function.git" }, "bugs": { "url": "https://github.com/WebReflection/custom-function/issues" }, "homepage": "https://github.com/WebReflection/custom-function#readme" }