Skip to main content
Home

Built and signed on GitHub Actions

The elegant bundler for libraries powered by Rolldown.

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
2 months ago (0.9.1)

tsdown

tsdown npm Unit Test JSR

✨ The elegant bundler for libraries powered by Rolldown.

Features

  • 🚀 Blazing fast: Build and generate declaration files powered by Oxc and Rolldown, incredibly fast!
  • ♻️ Powerful ecosystem: Support Rollup, Rolldown, unplugin plugins, and some Vite plugins.
  • ️🛠️ Easy to use: tsdown preconfigures everything you need to get started, so you can focus on writing code.
  • 🔄 Seamless migration: Compatible with tsup's main options and features, ensuring a smooth transition.

Documentation

For full documentation, visit tsdown.dev.

Install

npm i -D tsdown

Usage

npx tsdown

Migrate from tsup

npx tsdown migrate

Please make sure to commit your changes before migrating. For more details, see the Migration Guide.

Credits

This project also partially contains code derived or copied from tsup.

Sponsors

Licenses

This project is licensed under the MIT License.

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";
or

Import directly with a jsr specifier

import * as tsdown from "jsr:@sxzz/tsdown";

Add Package

pnpm i jsr:@sxzz/tsdown
or (using pnpm 10.8 or older)
pnpm dlx jsr add @sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";

Add Package

yarn add jsr:@sxzz/tsdown
or (using Yarn 4.8 or older)
yarn dlx jsr add @sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";

Add Package

vlt install jsr:@sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";

Add Package

npx jsr add @sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";

Add Package

bunx jsr add @sxzz/tsdown

Import symbol

import * as tsdown from "@sxzz/tsdown";