@speedy-js/tsm

2.2.1 • Public • Published
tsm
TypeScript Module Loader

Features

The ESM Loader API is still experimental and will change in the future.

Install

# install as project dependency
$ npm install --save-dev tsm

# or install globally
$ npm install --global tsm

Usage

Note: Refer to /docs/usage.md for more information.

# use as `node` replacement
$ tsm server.ts

# forwards any `node` ENV or flags
$ NO_COLOR=1 tsm server.ts --trace-warnings

# use as `--require` hook
$ node --require tsm server.tsx
$ node -r tsm server.tsx

# use as `--loader` hook
$ node --loader tsm main.jsx

License

MIT © Luke Edwards

/@speedy-js/tsm/

    Package Sidebar

    Install

    npm i @speedy-js/tsm

    Weekly Downloads

    3

    Version

    2.2.1

    License

    MIT

    Unpacked Size

    9.28 kB

    Total Files

    9

    Last publish

    Collaborators

    • derozan
    • arrayzoneyour
    • ahaoboy
    • zhusj
    • upupming
    • amour1688
    • null~
    • thisispluto
    • zoolsher
    • ulivz
    • hardfist