UNPKG

typescript-functional-extensions

Version:

A TypeScript implementation of synchronous and asynchronous Maybe and Result monads

63 lines (62 loc) 1.62 kB
{ "name": "typescript-functional-extensions", "description": "A TypeScript implementation of synchronous and asynchronous Maybe and Result monads", "keywords": [ "typescript", "functional", "monad", "maybe", "result", "async" ], "homepage": "https://github.com/seangwright/typescript-functional-extensions#readme", "bugs": { "url": "https://github.com/seangwright/typescript-functional-extensions/issues" }, "repository": { "type": "git", "url": "github.com:seangwright/typescript-functional-extensions" }, "license": "MIT", "author": { "name": "Sean G. Wright", "url": "https://www.seangwright.me" }, "version": "3.0.0", "engines": { "node": ">=22.0.0" }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "files": [ "/dist" ], "scripts": { "start": "tsc --watch", "prebuild": "trash dist", "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json", "postbuild": "cpy package.cjs.json ./dist/cjs && cpy package.esm.json ./dist/esm", "test": "vitest run", "test:watch": "vitest", "coverage": "vitest run --coverage", "report:size": "node ./scripts/dist-size.mjs" }, "devDependencies": { "@types/node": "22.15.2", "@vitest/coverage-v8": "3.1.2", "cpy-cli": "5.0.0", "gzip-size": "7.0.0", "prettier": "3.5.3", "trash-cli": "6.0.0", "tslib": "2.8.1", "typescript": "5.8.3", "uglify-js": "3.19.3", "vitest": "3.1.2" } }