UNPKG

@rustable/enum

Version:

Rust-inspired pattern matching and type-safe error handling for TypeScript. Includes Option<T> for null-safety and Result<T, E> for error handling, with comprehensive pattern matching support

50 lines 1.19 kB
{ "name": "@rustable/enum", "version": "0.4.10", "description": "Rust-inspired pattern matching and type-safe error handling for TypeScript. Includes Option<T> for null-safety and Result<T, E> for error handling, with comprehensive pattern matching support", "keywords": [ "typescript", "rust", "pattern-matching", "option-type", "result-type", "error-handling", "null-safety", "functional", "enum", "match" ], "main": "./lib/index.js", "source": "./src/index.ts", "module": "./lib/index.mjs", "types": "./lib/index.d.ts", "sideEffects": false, "exports": { ".": { "types": "./lib/index.d.ts", "require": "./lib/index.js", "import": "./lib/index.mjs" } }, "files": [ "lib", "LICENSE", "README.md" ], "dependencies": { "@rustable/utils": "0.4.9" }, "author": "illuxiza", "repository": { "type": "git", "url": "https://github.com/illuxiza/ts-rustable" }, "bugs": { "url": "https://github.com/illuxiza/ts-rustable/issues" }, "homepage": "https://github.com/illuxiza/ts-rustable#readme", "license": "MIT", "publishConfig": { "access": "public" } }