@keroxp/tsb
v0.8.1
Published
TypeScript module bundler for Deno
Downloads
1
Readme
tsb
TypeScript/JavaScript module bundler for ESModule
Description
tsb
is module bundler for ECMAScript. It bundles TypeScript/JavaScript modules built with pure ESModule.
Concept
- TypeScript first
- tsb bundles and transpiles ts/js files with TypeScript Compiler API
- ESM only
- tsb only supports ECMAScript that are written with pure ESModule (import/export)
- CommonJS,AMD (require/exports) are NOT supported
- URL import support
- tsb will automatically fetch URL import/export and bundles all dependencies and stores caches.
Install
Via yarn
$ yarn global add @keroxp/tsb
Via npm
$ npm i -g @kerpxp/tsb
or
$ npx @keroxp/tsb
Usage
$ tsb ./example/server.ts > bundle.js
License
MIT