@keroxp/tsb

0.8.1 • Public • Published

npm version

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

Readme

Keywords

none

Package Sidebar

Install

npm i @keroxp/tsb

Weekly Downloads

0

Version

0.8.1

License

MIT

Unpacked Size

62.6 kB

Total Files

27

Last publish

Collaborators

  • keroxp