UNPKG

rustlike-ts

Version:

A Rust-like functional utility library for safe and expressive error handling in TypeScript.

68 lines (67 loc) 1.49 kB
{ "name": "rustlike-ts", "description": "A Rust-like functional utility library for safe and expressive error handling in TypeScript.", "author": "Ryuji Ito", "keywords": [ "typescript", "rust", "functional", "error-handling", "result", "option", "monad", "safe-programming", "null-safety", "optional", "unwrap", "rustlike", "typescript-utilities" ], "license": "MIT", "version": "1.1.0", "repository": { "type": "git", "url": "https://github.com/ryuji-1to/rustlike-ts" }, "types": "lib/index.d.ts", "main": "lib/index.js", "publishConfig": { "access": "public" }, "type": "module", "exports": { ".": { "import": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "require": { "types": "./lib/index.d.cts", "default": "./lib/index.cjs" } } }, "files": [ "lib" ], "sideEffects": false, "scripts": { "prepublishOnly": "npm run build", "build": "tsup", "release": "changeset publish", "test": "vitest --run", "vitest": "vitest", "lint": "biome lint ./src", "fix": "biome lint --apply ./src", "format": "biome format --write ./src" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.28.1", "@types/node": "^22.13.4", "tsup": "^8.3.6", "typescript": "^5.7.3", "vitest": "^3.0.6" } }