UNPKG

unwrap-or

Version:

A TypeScript implementation of Rust's Option and Result types.

57 lines (56 loc) 1.2 kB
{ "name": "unwrap-or", "version": "1.0.2-beta", "license": "MIT", "description": "A TypeScript implementation of Rust's Option and Result types.", "author": { "name": "Roman Hnatiuk", "email": "hnatiukr@pm.me", "url": "https://github.com/hnatiukr" }, "repository": { "url": "https://github.com/hnatiukr/unwrap-or", "type": "git" }, "homepage": "https://github.com/hnatiukr/unwrap-or", "keywords": [ "TypeScript", "Rust", "Option", "Some", "None", "Result", "Ok", "Err", "monad", "ADT", "or" ], "type": "module", "sideEffects": false, "files": [ "lib", "LICENSE", "README.md", "package.json" ], "main": "lib/index.ts", "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/index.ts", "require": "./lib/index.ts" }, "./option": { "types": "./lib/option/index.d.ts", "import": "./lib/option/index.ts", "require": "./lib/option/index.ts" }, "./result": { "types": "./lib/result/index.d.ts", "import": "./lib/result/index.ts", "require": "./lib/result/index.ts" } } }