A fast CLI for creating TypeScript test files with Bun
- ๐งช Quick TypeScript file creation
- ๐จ Colorful CLI output
- ๐ VS Code integration
- โก Powered by Bun
git clone https://github.com/Piarre/bun-playground.git
cd playground
bun install
bun run build# Create a new file
playground new --file-name my-test
# With VS Code integration
playground new --file-name debug-app --open
# Using aliases
pg n -f quick-test -oOptions:
-f, --file-name <string>: File name (required)-o, --open: Open in VS Code
Creates scripts/test-api.ts with:
(async () => {
})();bun run build # Build project
bun run prettier # Format code