tsm
TypeScript Module Loader
Last updated 4 years ago by lukeed .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install tsm 
SYNC missed versions from official npm registry.
tsm
version CI downloads publish size
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

Current Tags

  • 2.3.0                                ...           latest (4 years ago)
  • 2.0.0-next.2                                ...           next (5 years ago)

26 Versions

  • 2.3.0                                ...           4 years ago
  • 2.2.2                                ...           4 years ago
  • 2.2.1                                ...           5 years ago
  • 2.2.0                                ...           5 years ago
  • 2.1.4                                ...           5 years ago
  • 2.1.3                                ...           5 years ago
  • 2.1.2                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 2.0.0-next.2                                ...           5 years ago
  • 2.0.0-next.1                                ...           5 years ago
  • 2.0.0-next.0                                ...           5 years ago
  • 1.0.1                                ...           14 years ago
  • 1.0.0                                ...           14 years ago
  • 0.0.11                                ...           14 years ago
  • 0.0.10                                ...           14 years ago
  • 0.0.9                                ...           14 years ago
  • 0.0.8                                ...           14 years ago
  • 0.0.7                                ...           14 years ago
  • 0.0.6                                ...           15 years ago
  • 0.0.5                                ...           15 years ago
  • 0.0.4                                ...           15 years ago
  • 0.0.3                                ...           15 years ago
  • 0.0.2                                ...           15 years ago
  • 0.0.1                                ...           15 years ago
Maintainers (1)
Downloads
Total 88
Today 1
This Week 7
This Month 56
Last Day 1
Last Week 10
Last Month 19
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE