tsup
[![npm version](https://badgen.net/npm/v/tsup)](https://npm.im/tsup) [![npm downloads](https://badgen.net/npm/dm/tsup)](https://npm.im/tsup)
Last updated 3 years ago by egoist .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install tsup 
SYNC missed versions from official npm registry.

tsup

npm version npm downloads

Bundle your TypeScript library with no config, powered by esbuild.

👀 What can it bundle?

Anything that's supported by Node.js natively, namely .js, .json, .mjs. And TypeScript .ts, .tsx. CSS support is experimental.

⚙️ Install

Install it locally in your project folder:

npm i tsup -D
# Or Yarn
yarn add tsup --dev
# Or pnpm
pnpm add tsup -D

You can also install it globally but it's not recommended.

📖 Usage

Bundle files

tsup [...files]

Files are written into ./dist.

You can bundle multiple files in one go:

tsup src/index.ts src/cli.ts

This will output dist/index.js and dist/cli.js.

📚 Documentation

For complete usages, please dive into the docs.

For all configuration options, please see the API docs.

💬 Discussions

Head over to the discussions to share your ideas.

Sponsors

<picture> <source media="(prefers-color-scheme: dark)" width="500" srcset="https://fastly.jsdelivr.net/gh/egoist-bot/images@main/uPic/Group 2 (2).png"> Ship UIs faster with automated workflows for Storybook </picture>

sponsors

Project Stats

Alt

License

MIT © EGOIST

Current Tags

  • 8.3.0                                ...           latest (2 months ago)

198 Versions

  • 8.3.0                                ...           2 months ago
  • 8.2.4                                ...           3 months ago
  • 8.2.3                                ...           4 months ago
  • 8.2.2                                ...           4 months ago
  • 8.2.1                                ...           4 months ago
  • 8.2.0                                ...           4 months ago
  • 8.1.2                                ...           4 months ago
  • 8.1.1                                ...           4 months ago
  • 8.1.0                                ...           5 months ago
  • 8.0.2                                ...           9 months ago
  • 8.0.1                                ...           a year ago
  • 8.0.0                                ...           a year ago
  • 7.3.0 [deprecated]           ...           a year ago
  • 7.2.0                                ...           a year ago
  • 7.1.0                                ...           a year ago
  • 7.0.0                                ...           a year ago
  • 6.7.0                                ...           2 years ago
  • 6.6.3                                ...           2 years ago
  • 6.6.2                                ...           2 years ago
  • 6.6.1                                ...           2 years ago
  • 6.6.0                                ...           2 years ago
  • 6.5.0                                ...           2 years ago
  • 6.4.0                                ...           2 years ago
  • 6.3.0                                ...           2 years ago
  • 6.2.3                                ...           2 years ago
  • 6.2.2                                ...           2 years ago
  • 6.2.1                                ...           2 years ago
  • 6.2.0                                ...           2 years ago
  • 6.1.3                                ...           2 years ago
  • 6.1.2                                ...           2 years ago
  • 6.1.1                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.0.1                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.12.9                                ...           2 years ago
  • 5.12.8                                ...           2 years ago
  • 5.12.7                                ...           3 years ago
  • 5.12.6                                ...           3 years ago
  • 5.12.5                                ...           3 years ago
  • 5.12.4                                ...           3 years ago
  • 5.12.3                                ...           3 years ago
  • 5.12.2                                ...           3 years ago
  • 5.12.1                                ...           3 years ago
  • 5.12.0                                ...           3 years ago
  • 5.11.13                                ...           3 years ago
  • 5.11.12                                ...           3 years ago
  • 5.11.11                                ...           3 years ago
  • 5.11.10                                ...           3 years ago
  • 5.11.9                                ...           3 years ago
  • 5.11.8                                ...           3 years ago
  • 5.11.7                                ...           3 years ago
  • 5.11.6                                ...           3 years ago
  • 5.11.5                                ...           3 years ago
  • 5.11.4                                ...           3 years ago
  • 5.11.3                                ...           3 years ago
  • 5.11.2                                ...           3 years ago
  • 5.11.1                                ...           3 years ago
  • 5.11.0                                ...           3 years ago
  • 5.10.3                                ...           3 years ago
  • 5.10.2                                ...           3 years ago
  • 5.10.1                                ...           3 years ago
  • 5.10.0                                ...           3 years ago
  • 5.9.2                                ...           3 years ago
  • 5.9.1                                ...           3 years ago
  • 5.9.0                                ...           3 years ago
  • 5.8.1                                ...           3 years ago
  • 5.8.0                                ...           3 years ago
  • 5.7.4                                ...           3 years ago
  • 5.7.3                                ...           3 years ago
  • 5.7.2                                ...           3 years ago
  • 5.7.1                                ...           3 years ago
  • 5.7.0                                ...           3 years ago
  • 5.6.3                                ...           3 years ago
  • 5.6.2                                ...           3 years ago
  • 5.6.1                                ...           3 years ago
  • 5.6.0                                ...           3 years ago
  • 5.5.0                                ...           3 years ago
  • 5.4.4                                ...           3 years ago
  • 5.4.3                                ...           3 years ago
  • 5.4.2                                ...           3 years ago
  • 5.4.1                                ...           3 years ago
  • 5.4.0                                ...           3 years ago
  • 5.3.0                                ...           3 years ago
  • 5.2.1                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.14.0                                ...           3 years ago
  • 4.13.1                                ...           3 years ago
  • 4.13.0                                ...           3 years ago
  • 4.12.5                                ...           3 years ago
  • 4.12.4                                ...           3 years ago
  • 4.12.3                                ...           3 years ago
  • 4.12.2                                ...           3 years ago
  • 4.12.1                                ...           3 years ago
  • 4.12.0                                ...           3 years ago
  • 4.11.2                                ...           3 years ago
  • 4.11.1                                ...           3 years ago
  • 4.11.0                                ...           3 years ago
  • 4.10.1                                ...           4 years ago
  • 4.10.0                                ...           4 years ago
  • 4.9.2                                ...           4 years ago
  • 4.9.1                                ...           4 years ago
  • 4.9.0                                ...           4 years ago
  • 4.8.21                                ...           4 years ago
  • 4.8.20                                ...           4 years ago
  • 4.8.19                                ...           4 years ago
  • 4.8.18                                ...           4 years ago
  • 4.8.17                                ...           4 years ago
  • 4.8.16                                ...           4 years ago
  • 4.8.15                                ...           4 years ago
  • 4.8.14                                ...           4 years ago
  • 4.8.13                                ...           4 years ago
  • 4.8.12                                ...           4 years ago
  • 4.8.11                                ...           4 years ago
  • 4.8.10                                ...           4 years ago
  • 4.8.9                                ...           4 years ago
  • 4.8.8                                ...           4 years ago
  • 4.8.7                                ...           4 years ago
  • 4.8.6                                ...           4 years ago
  • 4.8.5                                ...           4 years ago
  • 4.8.4                                ...           4 years ago
  • 4.8.3                                ...           4 years ago
  • 4.8.2                                ...           4 years ago
  • 4.8.1                                ...           4 years ago
  • 4.8.0                                ...           4 years ago
  • 4.7.2                                ...           4 years ago
  • 4.7.1                                ...           4 years ago
  • 4.7.0                                ...           4 years ago
  • 4.6.1                                ...           4 years ago
  • 4.6.0                                ...           4 years ago
  • 4.5.1                                ...           4 years ago
  • 4.5.0                                ...           4 years ago
  • 4.4.0                                ...           4 years ago
  • 4.3.1                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.12.1                                ...           4 years ago
  • 3.12.0                                ...           4 years ago
  • 3.11.0                                ...           4 years ago
  • 3.10.1                                ...           4 years ago
  • 3.10.0                                ...           4 years ago
  • 3.9.0                                ...           4 years ago
  • 3.8.0                                ...           4 years ago
  • 3.7.1                                ...           4 years ago
  • 3.7.0                                ...           4 years ago
  • 3.6.1                                ...           4 years ago
  • 3.6.0                                ...           4 years ago
  • 3.5.0                                ...           4 years ago
  • 3.4.3                                ...           4 years ago
  • 3.4.2                                ...           4 years ago
  • 3.4.1                                ...           4 years ago
  • 3.4.0                                ...           4 years ago
  • 3.3.0                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.2                                ...           4 years ago
  • 3.1.1                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.5.1                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 1.4.23                                ...           4 years ago
  • 1.4.22                                ...           4 years ago
  • 1.4.21                                ...           4 years ago
  • 1.4.20                                ...           4 years ago
  • 1.4.19                                ...           4 years ago
  • 1.4.18                                ...           4 years ago
  • 1.4.17                                ...           4 years ago
  • 1.4.16                                ...           4 years ago
  • 1.4.15                                ...           4 years ago
  • 1.4.14                                ...           4 years ago
  • 1.4.13                                ...           4 years ago
  • 1.4.12                                ...           4 years ago
  • 1.4.11                                ...           4 years ago
  • 1.4.10                                ...           4 years ago
  • 1.4.9                                ...           4 years ago
  • 1.4.8                                ...           4 years ago
  • 1.4.7                                ...           4 years ago
  • 1.4.6                                ...           5 years ago
  • 1.4.5                                ...           5 years ago
  • 1.4.4                                ...           5 years ago
  • 1.4.3                                ...           5 years ago
  • 1.4.2                                ...           5 years ago
  • 1.4.1                                ...           5 years ago
  • 1.4.0                                ...           5 years ago
  • 1.3.1                                ...           5 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (14)
Dev Dependencies (26)
Dependents (1)

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