{"library":"naka-bundler","title":"Naka Bundler","description":"The `naka-bundler` package (current version 0.0.7) provides a specialized command-line interface (CLI) for bundling and transpiling JavaScript and TypeScript files. It acts as a lightweight wrapper around Bun, leveraging Bun's performance characteristics to achieve fast compilation times. Developed as an integral part of the `naka` project, it specifically targets browser automation workflows, optimizing file transformations for that context. A key design principle is its performance, achieved by compiling itself into an executable binary using Bun. This allows for rapid execution without reliance on a globally installed `bun` runtime for the end-user. The bundler offers a \"batteries-included\" experience with no configuration options, making it ideal for straightforward bundling tasks where customization is not required. For advanced or custom configurations, users are advised to interact with Bun directly rather than through `naka-bundler`. As an early-stage project (v0.0.7), its release cadence is likely tied to the development of the broader `naka` ecosystem.","language":"javascript","status":"active","last_verified":"Tue Apr 21","install":{"commands":["npm install naka-bundler"],"cli":{"name":"naka-bundler","version":null}},"imports":["(N/A - CLI tool)","(N/A - CLI tool)","(N/A - CLI tool)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx naka-bundler src/index.ts dist/out\n# Example with more files or different extensions:\nnpx naka-bundler frontend/main.tsx dist/bundle\nnpx naka-bundler backend/api.js build/server","lang":"typescript","description":"Illustrates bundling 'src/index.ts' and outputting the transpiled result to the 'dist/out' directory using the `naka-bundler` CLI.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}