UNPKG

typecat

Version:

A tiny functional programming library for TypeScript that provides Option (Some/None) and Either(Left/Right) with functor map, applicative map and monad flatmap

54 lines (53 loc) 1.41 kB
{ "name": "typecat", "version": "0.1.18", "main": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://github.com/reactma/typecat", "repository": { "type": "git", "url": "https://github.com/reactma/typecat.git" }, "description": "A tiny functional programming library for TypeScript that provides Option (Some/None) and Either(Left/Right) with functor map, applicative map and monad flatmap", "author": "Reactma", "license": "MIT", "devDependencies": { "@types/jest": "^24.0.9", "jest": "^24.1.0", "npm-run-all": "^4.1.5", "prettier": "1.16.4", "rimraf": "^2.6.3", "ts-jest": "^23.10.5", "tslint": "^5.12.1", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.14.2", "typescript": "^3.3.3" }, "scripts": { "clean": "rimraf dist lib doc", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p .", "test": "jest", "doc": "typedoc ./src", "compile": "tsc", "build": "npm-run-all clean compile" }, "files": [ "lib/**/*" ], "prepare": "yarn run build", "prepublishOnly": "yarn test && yarn run lint", "preversion": "yarn run lint", "postversion": "git push && git push --tags", "keywords": [ "Functional", "Catatgory", "Functor", "Applicative", "Monad", "Option", "Either" ], "dependencies": {}, "peerDependencies": {} }