A minimal boilerplate for building Node.JS applications.
- nvm configuration file to help manage required Node.js version.
- ESLint plugins configured for code linting.
- Prettier plugins configured for code formatting.
- A couple of preconfigured scripts to start app, lint and format code.
- Husky and commitlint to ensure your commits are correctly formatted
- eslint-plugin-import-helpers to better organize imports. Order will be the following sequence:
// Node native modules will be at the top of imports list
// if declared with "node:" prefix
import fs from 'node:fs';
// External modules
import express from 'express';
// Parent, Sibling
import parent from '../parent/index.js';
import sibling from './sibling/index.js';
- Node.js >= v18.0.0
Yarn:
$ yarn install
NPM:
$ npm install