abacus-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

+*-/+*-/ abacus-ts +*-/+*-/

A simple calculator implemented by only TypeScript type operation.

import { Calc } from "abacus-ts";

type Answer = Calc<"(3+4-1)*2/2">;

const a: Answer = 6;

capture

Try it with TypeScript Playground!

License

MIT

/abacus-ts/

    Package Sidebar

    Install

    npm i abacus-ts

    Weekly Downloads

    7

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    22.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • quramy