https://github.com/lamualfa/template-node
⚡ Template for Typescript + Node.js + SWC + Jest + ESLint + Prettier + Lint Staged.
https://github.com/lamualfa/template-node
babel eslint github-actions husky javascript jest lint-staged nodejs prettier swc template typescript
Last synced: 2 months ago
JSON representation
⚡ Template for Typescript + Node.js + SWC + Jest + ESLint + Prettier + Lint Staged.
- Host: GitHub
- URL: https://github.com/lamualfa/template-node
- Owner: lamualfa
- Created: 2021-04-28T23:42:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-18T06:41:14.000Z (over 3 years ago)
- Last Synced: 2025-04-19T16:29:10.181Z (6 months ago)
- Topics: babel, eslint, github-actions, husky, javascript, jest, lint-staged, nodejs, prettier, swc, template, typescript
- Language: JavaScript
- Homepage:
- Size: 217 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node.js Template
![]()
![]()
![]()
![]()
![]()
![]()

# Features
- Testing in [Github Actions](https://github.com/features/actions)
- Testing Typescript code using [SWC Jest](https://github.com/Brooooooklyn/swc-node/tree/master/packages/jest)
- Code Coverage using [Jest](https://jestjs.io/)
- Standardized and Linting the code using [ESLint](https://eslint.org/)
- Format code using [Prettier](https://prettier.io/)
- Automate [Git Hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) using [Husky](https://github.com/typicode/husky) and [Lint Staged](https://github.com/okonet/lint-staged)
# Packages
- Typescript
- Node.js
- Jest
- ESLint
- Prettier
- Husky
- SWC
- Lint Staged
# Installation
###### Using [NPX](https://docs.npmjs.com/cli/v8/commands/npx) (NPM)
```
npx degit lamualfa/template-node project-name
```###### Using [PNPM](https://pnpm.io/id/cli/dlx)
```
pnpm dlx degit lamualfa/template-node project-name
```