UNPKG

@thames/monads

Version:

Option, Result, and Either types for JavaScript - Inspired by Rust

55 lines 1.54 kB
{ "name": "@thames/monads", "version": "0.7.0", "description": "Option, Result, and Either types for JavaScript - Inspired by Rust", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=18", "npm": ">=8", "pnpm": ">=8" }, "keywords": [ "monads", "option", "result", "either", "javascript", "js", "typescript", "node", "node.js" ], "author": "Slavo Vojacek <slavo@thames.technology>", "license": "MIT", "homepage": "https://github.com/thames-technology/monads", "bugs": "https://github.com/thames-technology/monads/issues", "devDependencies": { "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@thames/eslint-config": "^0.0.4", "@thames/prettier-config": "^0.0.4", "@tsconfig/node20": "^20.1.4", "@types/jest": "^29.5.12", "jest": "^29.7.0", "prettier": "3.3.2", "rollup": "^4.18.0", "ts-jest": "^29.1.5", "typedoc": "^0.25.13", "typescript": "^5.4.5" }, "scripts": { "build": "rollup -c", "docs": "typedoc --out docs src/index.ts --excludeNotDocumented", "format": "prettier --check '**/*.{ts,mjs,json,md}' '.github/**/*.{yml,yaml,md}'", "format:fix": "prettier --write '**/*.{ts,mjs,json,md}' '.github/**/*.{yml,yaml,md}'", "lint": "eslint src", "lint:fix": "eslint src --fix", "test": "jest", "test:cover": "jest --coverage --verbose --runInBand" } }