@zerothrow/core
Version:
Core ZeroThrow functionality - Rust-style Result<T,E> for TypeScript
76 lines (75 loc) • 1.91 kB
JSON
{
"name": "@zerothrow/core",
"version": "0.2.3",
"description": "Core ZeroThrow functionality - Rust-style Result<T,E> for TypeScript",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./platform": {
"types": "./dist/platform/index.d.ts",
"import": "./dist/platform/index.js",
"require": "./dist/platform/index.cjs"
},
"./dev": {
"types": "./dist/dev/error-formatter.d.ts",
"import": "./dist/dev/error-formatter.js",
"require": "./dist/dev/error-formatter.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"test": "echo 'Tests are run from monorepo root'",
"test:watch": "echo 'Tests are run from monorepo root'",
"lint": "echo 'Linting is run from monorepo root'",
"clean": "rm -rf dist .turbo",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"zerothrow",
"result",
"error-handling",
"typescript",
"zero-throw",
"rust-style",
"functional",
"monad",
"either",
"fp",
"functional-programming"
],
"homepage": "https://github.com/zerothrow/zerothrow#readme",
"bugs": {
"url": "https://github.com/zerothrow/zerothrow/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zerothrow/zerothrow.git",
"directory": "packages/core"
},
"license": "MIT",
"author": "J. Kirby Ross <james@flyingrobots.dev> (https://github.com/flyingrobots)",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.17.0"
},
"platform": "universal",
"dev": false,
"devDependencies": {},
"optionalDependencies": {}
}