{"enrichment":{"faq":[{"a":"tsdown is a TypeScript library bundler that packages your TypeScript and JavaScript code for npm distribution while preserving complete type information. The skill automates the bundling process, ensuring your libraries ship with accurate type declarations for better developer experience and IDE support.","q":"What is tsdown and what does it do for TypeScript libraries?"},{"a":"Yes, tsdown specializes in bundling TypeScript and JavaScript libraries for npm with type declarations. It handles the complete packaging workflow, automatically generating and including .d.ts type declaration files so your published library provides full type information to consumers.","q":"Can tsdown bundle TypeScript libraries for npm with type declarations?"},{"a":"tsdown can generate multiple output formats (ESM, CJS, IIFE, UMD) from a single source, allowing you to distribute your library in the formats your users need without maintaining separate build configurations.","q":"What output formats does tsdown support for bundled libraries?"},{"a":"tsdown is designed as a faster bundler option with minimal configuration changes needed when migrating from tsup. It provides comparable functionality while improving build performance, making it an efficient choice for teams looking to speed up their TypeScript library builds.","q":"Is tsdown a suitable alternative to tsup for faster bundling?"},{"a":"Yes, tsdown efficiently builds React, Vue, Solid, and Svelte component libraries. It handles the specific requirements of framework component bundling while maintaining type safety and generating the necessary type declarations for component consumers.","q":"Can tsdown be used to build React and Vue component libraries?"},{"a":"tsdown optimizes bundle size through tree shaking, minification, and dependency control features. These capabilities help reduce your final bundle size while ensuring only necessary code is included in your npm distribution.","q":"How does tsdown optimize bundle size and performance?"}],"shadow_tags":["build-tool","module-bundling","type-safety","performance-focused","multi-format-output","tree-shaking","component-libraries","monorepo-support","cli-tool","source-maps"],"summary_rewrite":"tsdown packages your TypeScript and JavaScript code for npm distribution while preserving complete type information. This skill automates the bundling process, ensuring your libraries ship with accurate type declarations for better developer experience and IDE support."},"files":[{"bytes":12886,"path":"skills/tsdown/SKILL.md","sha256":"fd4319fd620f55fdebd1b1586d8af7709527c14aa5b00442709170ecc511f1d0","url":"https://skillfed.io/files/antfu/skills/tsdown/7846f4eb/SKILL.md"}],"gist":{"api_url":"https://skillfed.io/api/skills/antfu/skills/tsdown.json","as_of":"2026-06-23","description":"tsdown is a TypeScript library bundler that packages your TypeScript and JavaScript code for npm distribution. npx skillfed install antfu/skills/tsdown","install":{"file":"skills/tsdown/SKILL.md","manual":["git clone https://github.com/antfu/skills","cp -r skills/skills/tsdown ~/.claude/skills/tsdown"],"primary":"npx skillfed install antfu/skills/tsdown","version":"7846f4eb"},"kind":"skill","mirror_url":"https://skillfed.io/antfu/skills/tsdown.md","similar":[{"id":"rolldown/tsdown/tsdown","name":"tsdown","publisher":"rolldown/tsdown","url":"https://skillfed.io/rolldown/tsdown/tsdown"},{"id":"hairyf/skills/tsdown","name":"tsdown","publisher":"hairyf/skills","url":"https://skillfed.io/hairyf/skills/tsdown"},{"id":"sanity-io/next-sanity/tsdown","name":"tsdown","publisher":"sanity-io/next-sanity","url":"https://skillfed.io/sanity-io/next-sanity/tsdown"},{"id":"rolldown/tsdown/tsdown-migrate","name":"tsdown-migrate","publisher":"rolldown/tsdown","url":"https://skillfed.io/rolldown/tsdown/tsdown-migrate"},{"id":"oakoss/agent-skills/tsdown","name":"Tsdown","publisher":"oakoss/agent-skills","url":"https://skillfed.io/oakoss/agent-skills/tsdown"}],"title":"tsdown by antfu: Bundle TypeScript/JavaScript libraries for npm with type declarations \u2014 SkillFed","use":{"when":["Yes, tsdown specializes in bundling TypeScript and JavaScript libraries for npm with type declarations.","tsdown can generate multiple output formats (ESM, CJS, IIFE, UMD) from a single source."]},"verify":{"line":"Read SKILL.md below before installing","n_files":42},"what":{"lead":"tsdown is a TypeScript library bundler that packages your TypeScript and JavaScript code for npm distribution while preserving complete type information. The skill automates the bundling process, ensuring your libraries ship with accurate type declarations for better developer experience and IDE support."}},"id":"antfu/skills/tsdown","links":{"html":"https://skillfed.io/antfu/skills/tsdown","md":"https://skillfed.io/antfu/skills/tsdown.md","repo":"https://github.com/antfu/skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":313,"language":"TypeScript","last_updated":"2026-06-23","license":"MIT","name":"tsdown","publisher":"antfu","stars":5665},"relations":{"similar":[{"id":"rolldown/tsdown/tsdown"},{"id":"hairyf/skills/tsdown"},{"id":"sanity-io/next-sanity/tsdown"},{"id":"rolldown/tsdown/tsdown-migrate"},{"id":"onmax/nuxt-skills/tsdown"},{"id":"oakoss/agent-skills/tsdown"},{"id":"mindfold-ai/Trellis/ts-sdk-author"},{"id":"onmax/nuxt-skills/ts-library"},{"id":"wshobson/agents/monorepo-management"},{"id":"bobmatnyc/claude-mpm-skills/turborepo"}]},"slug":{"owner":"antfu","repo":"skills","skill":"tsdown"},"version":"7846f4eb"}
