moshimosh ≽^•༚•🎀≼ (moshi-mosh) is a hybrid (esm/cjs) TypeScript Node package creator, with modern tooling, typedef docs generation and sensible defaults that just works
npx moshimosh
- Hybrid ESM/CJS by tshy that just works
- Test and Coverage with vitest
- Linting/Formatting with Biome
- Linting/Formatting Git Pre-commit hooks with lefthook
- Documentation generation from typedefs with typedoc
- Github action for building and testing
- Github action for updating docs in a GitHub Pages github.io repo
prepare
- builds the package to dist emitting both ESM and CJS entrypointstest
- runs tests and generates coverage reportsdocs:gen
- generates documentation from built typescript .d.ts fileslint
- lints and formats files with Biomelint:ci
- runs lint and formatting checks without auto-fixing (for ci)githooks:install
- sets up linting and formatting pre-commit githooks with lefthook (run only once)