Skip to content

Repository files navigation

nodejs-package

Node CI

Requirements

  • Unix system (Macos/Linux)
  • Nodejs 22.x+
  • Make

Description

Boilerplate for javascript projects with:

  • Javascript (nodejs)
  • Oxlint (linter) and Oxfmt (formatter)
  • Vitest

For Typescript boilerplate see typescript-package

Setup

make install

Run tests

make test

See other commands in Makefile

Run tests with coverage

make test-coverage
# see ./coverage

The coverage threshold is set in vitest.config.jsmake test-coverage exits with an error when coverage drops below it, so the Node CI badge above stays green only while coverage holds.


Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.

About

Node.js boilerplate package

Topics

Resources

Stars

332 stars

Watchers

30 watching

Forks

Releases

Packages

Used by

Contributors

Languages