0.2.1 • Published 1 year ago

@cheatoid/ts-plugins v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

TS Plugins

npm (scoped)

General-purpose TypeScript plugins/transformers.

🛠 Installation

Get the latest package from npm:

npm install -D @cheatoid/ts-plugins
# or
yarn add -D @cheatoid/ts-plugins

✨ Features

Note: Each feature works on opt-in basis.
Modify your tsconfig.json (replace the INSERT-TRANSFORM-NAME accordingly):

{
    "compilerOptions": {
        "plugins": [
            { "transform": "@cheatoid/ts-plugins/INSERT-TRANSFORM-NAME.js" },
        ]
    }
}

Constant Folding

{ "transform": "@cheatoid/ts-plugins/constant-folding.js" }

See Wikipedia for explanation.

Additional Options

evaluateMath: Set to true to enable Math library evaluation (when possible).

0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago