Personal TypeScript ES module starter template
- Click the Use this template button.
- Using Yeoman generator
- Pure ESM package
- Ignore Lockfiles
- Lint code via XO
- Lint commit message via commitlint using
@commitlint/config-conventional
- Unit Test via AVA
- Test type definition via tsd
- GitHub Actions CI for commits and pull requests
- Git hooks via husky
pre-commit
: Lint & Test code & Test type definitioncommit-msg
: Lint commit message
- Simple Visual Studio Code configs
REMOVE ABOVE CONTENTS
Lorem ipsum dolor sit amet
$ npm install my-awesome-module
import greet from "my-awesome-module";
greet("username");
//=> 'Hello username'