Skip to content

A boilerplate for Node vanilla projects with ESLint, Husky and Prettier.

Notifications You must be signed in to change notification settings

laporeon/nodeplate

Repository files navigation

Nodeplate

A minimal boilerplate for building Node.JS applications.

Features

  • 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';

Usage

Requirements

Installing:

Yarn:

$ yarn install

NPM:

$ npm install

About

A boilerplate for Node vanilla projects with ESLint, Husky and Prettier.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published