UNPKG

hi-guardian

Version:

Runtime type guard generator for TypeScript. Create validators for objects, arrays, tuples and unions with automatic type inference. 3x faster than io-ts with zero dependencies.

42 lines (41 loc) 1.14 kB
{ "name": "hi-guardian", "version": "1.0.4", "main": "./dist/index.js", "types": "./dist/index.d.ts", "description": "Runtime type guard generator for TypeScript. Create validators for objects, arrays, tuples and unions with automatic type inference. 3x faster than io-ts with zero dependencies.", "keywords": [ "typescript", "type-validation", "runtime-type-checking", "type-guard", "object-validation", "array-validation", "zero-dependency", "type-inference", "zod-alternative", "developer-tools", "schema-validation", "safe-parsing", "json-schema", "typebox", "deno" ], "license": "ISC", "author": "杜朝辉", "type": "module", "scripts": { "test": "test", "build": "tsup" }, "devDependencies": { "@types/node": "^22.13.10", "tsup": "^8.4.0", "typescript": "^5.8.2", "vitest": "^3.0.8" }, "dependencies": { "hi-datatype-operation": "^1.0.5" }, "packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3" }