UNPKG

io-ts-extra

Version:

Adds pattern matching, optional properties, and several other helpers and types, to io-ts.

45 lines (44 loc) 968 B
{ "name": "io-ts-extra", "version": "0.11.6", "keywords": [ "typescript", "validation", "inference", "codecs", "types", "runtime", "io-ts", "pattern matching" ], "homepage": "https://github.com/mmkal/ts/tree/main/packages/io-ts-extra#readme", "repository": { "type": "git", "url": "https://github.com/mmkal/ts.git", "directory": "packages/io-ts-extra" }, "license": "Apache-2.0", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "prebuild": "npm run clean", "build": "rig tsc -p .", "clean": "rig rimraf dist", "lint": "rig eslint --cache .", "prepack": "rushx lint && rig permalink", "postpack": "rig unpermalink && git status", "test": "rig jest" }, "dependencies": { "fp-ts": "^2.1.0", "io-ts": "^2.2.4" }, "devDependencies": { "@mmkal/rig": "0.0.1", "@types/js-yaml": "3.12.5", "@types/lodash": "4.14.165", "expect-type": "0.12.0", "js-yaml": "^3.14.0", "lodash": "^4.17.15" } }