https://github.com/younho9/typescript-esm-starter
Personal TypeScript ES module starter template
https://github.com/younho9/typescript-esm-starter
esm esmodule starter starter-template ts typescript typescript-starter
Last synced: 23 days ago
JSON representation
Personal TypeScript ES module starter template
- Host: GitHub
- URL: https://github.com/younho9/typescript-esm-starter
- Owner: younho9
- License: mit
- Created: 2021-12-18T11:19:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T08:26:06.000Z (over 4 years ago)
- Last Synced: 2025-04-17T14:29:46.230Z (about 1 year ago)
- Topics: esm, esmodule, starter, starter-template, ts, typescript, typescript-starter
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @younho9/typescript-esm-starter
[](https://github.com/younho9/typescript-esm-starter/actions/workflows/main.yml)
[](https://github.com/xojs/xo)
[](https://conventionalcommits.org)
> Personal TypeScript ES module starter template
## Getting Started
- Click the [Use this template](https://github.com/younho9/typescript-esm-starter/generate) button.
- Using [Yeoman generator](https://github.com/younho9/generator-typescript-esm)
## Features
- [Pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
- [Ignore Lockfiles](https://github.com/sindresorhus/ama/issues/479#issuecomment-310661514)
- Lint code via [XO](https://github.com/xojs/xo#readme)
- Lint commit message via [commitlint](https://github.com/conventional-changelog/commitlint) using [`@commitlint/config-conventional`](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#readme)
- Unit Test via [AVA](https://github.com/avajs/ava#readme)
- Test type definition via [tsd](https://github.com/SamVerschueren/tsd#readme)
- [GitHub Actions CI](https://github.com/younho9/typescript-esm-starter/blob/main/.github/workflows/main.yml) for commits and pull requests
- Git hooks via [husky](https://github.com/typicode/husky#readme)
- `pre-commit`: Lint & Test code & Test type definition
- `commit-msg`: Lint commit message
- Simple [Visual Studio Code configs](https://github.com/younho9/typescript-esm-starter/tree/main/.vscode)
## LICENSE
[MIT](LICENSE)
---
REMOVE ABOVE CONTENTS
---
# My Awesome Module
[](https://github.com/younho9/my-awesome-module/actions/workflows/main.yml)
[](https://github.com/xojs/xo)
[](https://conventionalcommits.org)
> Lorem ipsum dolor sit amet
## Install
```sh
$ npm install my-awesome-module
```
## Usage
```ts
import greet from "my-awesome-module";
greet("username");
//=> 'Hello username'
```
## LICENSE
[MIT](LICENSE)