ts-hajime
v0.4.36
Published
Bootstrap a TypeScript npm library in one command.
Maintainers
Readme
ts-hajime
Bootstrap a TypeScript npm library in one command.
npx ts-hajimeWhat you get
- Biome for linting and formatting (install the Biome VSCode extension)
- tsdown for building — outputs both ESM and CJS
- vitest for testing
- tsx for running TypeScript directly
- Preconfigured
tsconfig.json,vitest.config.ts,biome.jsonc, andpackage.json - GitHub Actions CI, Husky pre-commit hooks, and
.gitignoreout of the box - Example code for both library exports and
npxcommands - VSCode settings: file nesting, format-on-save, TSDK path

Commands
| Command | Description |
| --- | --- |
| npm run build | Build the library |
| npm test | Run tests |
| npm run lint | Lint and auto-fix |
| npm run tsc | Type check |
| npm run npx | Test your npx command locally |
