UNPKG

@rustable/trait

Version:

A TypeScript library that implements Rust-like traits with compile-time type checking and runtime verification.

51 lines 1.13 kB
{ "name": "@rustable/trait", "version": "0.4.12", "description": "A TypeScript library that implements Rust-like traits with compile-time type checking and runtime verification.", "keywords": [ "typescript", "rust", "trait", "interface", "type-safe", "compile-time", "runtime-verification", "polymorphism", "decorator", "derive", "macro" ], "main": "./lib/index.js", "module": "./lib/index.mjs", "source": "./src/index.ts", "types": "./lib/index.d.ts", "sideEffects": false, "exports": { ".": { "types": "./lib/index.d.ts", "require": "./lib/index.js", "import": "./lib/index.mjs" } }, "files": [ "lib", "LICENSE", "README.md" ], "dependencies": { "@rustable/type": "0.4.12" }, "author": "illuxiza", "repository": { "type": "git", "url": "https://github.com/illuxiza/ts-rustable" }, "bugs": { "url": "https://github.com/illuxiza/ts-rustable/issues" }, "homepage": "https://github.com/illuxiza/ts-rustable#readme", "license": "MIT", "publishConfig": { "access": "public" } }