UNPKG

@daisugi/anzen

Version:

Anzen helps write safe code without exceptions, taking roots from Rust's Result and Haskell's Either.

61 lines (60 loc) 1.71 kB
{ "name": "@daisugi/anzen", "version": "0.6.2", "description": "Anzen helps write safe code without exceptions, taking roots from Rust's Result and Haskell's Either.", "type": "module", "license": "MIT", "sideEffects": false, "exports": { ".": { "import": "./dist/esm/anzen.js", "require": "./dist/cjs/anzen.js", "types": "./dist/types/anzen.d.ts" }, "./src": "./src/anzen.ts" }, "scripts": { "build": "rm -rf dist && tsc --build ./tsconfig_esm.json && tsc --project ./tsconfig_cjs.json", "check": "biome check src --write --unsafe", "format": "biome format src --write", "lint": "biome lint src --write", "prepublishOnly": "pnpm run test && pnpm run build", "tdd": "tsc-watch --build ./tsconfig.json --onSuccess \"node --test --test-reporter spec dist/esm/__tests__/*.js\"", "test": "tsc --build ./tsconfig.json && node --test --test-reporter spec dist/esm/__tests__/*.js" }, "contributors": [ { "name": "Alexander Sviridov", "email": "sviridoff.mail@gmail.com", "url": "https://github.com/sviridoff" } ], "files": [ "dist/**/*.js", "dist/**/*.js.map", "dist/**/*.d.ts", "src" ], "keywords": [ "daisugi", "anzen", "result", "either" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "directory": "packages/anzen", "url": "https://github.com/daisugiland/daisugi.git" }, "types": "dist/types/anzen.d.ts", "devDependencies": { "@biomejs/biome": "^1.9.4", "@types/node": "^22.13.13", "tsc-watch": "^6.2.1", "typescript": "^5.8.2" }, "gitHead": "f83f900eb4b6770c0e3d852469466576789fe8ff" }