~solomon/typescript-library-template

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~solomon/typescript-library-template
read/write
git@git.sr.ht:~solomon/typescript-library-template

You can also use your local clone with git send-email.

This is my TypeScript library config template.

  • Uses ava for testing.
  • All TS code is under src/.
  • Tests are named *.spec.ts.
  • The entry point is src/index.ts, or dist/index.js after compilation.
  • The module is compiled on installation, so it can be installed via git.