Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
bun-plugin-dts-auto
Advanced tools
This Bun plugin generates dts files for your TypeScript projects.
bun install -d bun-plugin-dts-auto
You may now use the plugin:
import dts from 'bun-plugin-dts-auto'
// if you prefer named imports
// import { dts } from 'bun-plugin-dts-auto'
await Bun.build({
root: './src',
entrypoints: [
'src/index.ts',
],
outdir: './dist',
plugins: [
dts({
cwd: process.cwd(), // optional
root: './src', // optional, default: 'src'
outdir: './dist/types', // optional, default: './dist'
files: ['src/index.ts'], // optional, if not specified, all .ts files in root will be processed
}),
],
})
console.log('Build complete ✅')
The dts
plugin accepts an options object with the following properties:
cwd
: The current working directory (optional, default: process.cwd()
)root
: The root directory of your TypeScript files (optional, default: 'src'
)outdir
: The output directory for generated declaration files (optional, default: './dist'
)files
: An array of file paths or a single file path to process (optional, if not specified, all .ts
files in the root directory will be processed)bun test
Please see our releases page for more information on what has changed recently.
Please review the Contributing Guide for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
You will always be free to use any of the Stacks OSS software. We would also love to see which parts of the world Stacks ends up in. Receiving postcards makes us happy—and we will publish them on our website.
Our address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎
We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.
Many thanks to the following core technologies & people who have contributed to this package:
The MIT License (MIT). Please see LICENSE for more information.
Made with 💙
FAQs
Unknown package
The npm package bun-plugin-dts-auto receives a total of 38 weekly downloads. As such, bun-plugin-dts-auto popularity was classified as not popular.
We found that bun-plugin-dts-auto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.