unwrap-or
Version:
A TypeScript implementation of Rust's Option and Result types.
48 lines (47 loc) • 955 B
JSON
{
"name": "unwrap-or",
"version": "1.0.8",
"license": "MIT",
"description": "A TypeScript implementation of Rust's Option and Result types.",
"author": {
"name": "Roman Hnatiuk",
"email": "hnatiukr@pm.me"
},
"repository": {
"url": "https://codeberg.org/hnatiukr/unwrap-or",
"type": "git"
},
"homepage": "https://codeberg.org/hnatiukr/unwrap-or",
"keywords": [
"TypeScript",
"Rust",
"Option",
"Some",
"None",
"Result",
"Ok",
"Err",
"monad",
"ADT",
"or"
],
"type": "module",
"sideEffects": false,
"files": [
"lib/mod.ts",
"lib/option/option.ts",
"lib/result/result.ts"
],
"main": "lib/mod.ts",
"types": "lib/mod.ts",
"exports": {
"./option": {
"types": "./lib/option/option.ts",
"import": "./lib/option/option.ts"
},
"./result": {
"types": "./lib/result/result.ts",
"import": "./lib/result/result.ts"
}
}
}