UNPKG

@ts-rust/std

Version:

Rust-inspired utilities for TypeScript: Option, Result, and error handling for safer, more predictable code.

57 lines 1.63 kB
{ "name": "@ts-rust/std", "version": "0.2.0", "description": "Rust-inspired utilities for TypeScript: Option, Result, and error handling for safer, more predictable code.", "author": "Nikita Demin", "license": "MIT", "homepage": "https://krawitzzz.github.io/ts-rust/", "repository": { "type": "git", "url": "git+https://github.com/krawitzzZ/ts-rust.git" }, "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.cjs.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "dependencies": { "@ts-rust/shared": "0.0.3" }, "engines": { "node": ">=20" }, "keywords": [ "typescript", "rust", "option", "result", "error-handling", "functional-programming", "type-safety", "safety", "utilities", "std" ], "scripts": { "check": "pnpm run typecheck && pnpm run lint && pnpm run format && pnpm run build && pnpm run test:cov", "test": "jest", "test:cov": "jest --coverage", "lint": "eslint -c ../../eslint.config.mjs **/*.ts --no-warn-ignored", "lint:fix": "pnpm run lint --fix", "format": "prettier --check --config ../../.prettierrc.json ./src/**/*.ts", "format:fix": "prettier --write --config ../../.prettierrc.json ./src/**/*.ts", "typecheck": "tsc --build --force --noEmit", "clean": "rm -rf ./dist", "clean:deps": "rm -rf ./node_modules", "prebuild": "pnpm run --stream --filter \"@ts-rust/shared...\" build", "build": "pnpm run typecheck && rollup --config --failAfterWarnings" } }