express-essentials

npm version License

Essential packages for Node.js/Express.js backend development, simplifying setup with a single npm install command.

Package List

express-essentials includes the following essential packages for Node.js/Express.js backend development:

  • Express.js: Fast, unopinionated, minimalist web framework for Node.js.
  • Body-parser: Middleware to parse incoming request bodies.
  • Cors: Middleware for enabling Cross-Origin Resource Sharing (CORS).
  • Helmet: Middleware to secure Express apps by setting various HTTP headers.
  • Mongoose: MongoDB object modeling tool designed to work in an asynchronous environment.
  • Passport: Authentication middleware for Node.js.
  • Jsonwebtoken: JSON Web Token implementation for authentication.
  • Joi: Object schema validation library.
  • Express-validator: Middleware for validating and sanitizing request data.
  • Morgan: HTTP request logger middleware for Node.js.
  • Debug: Tiny debugging utility.
  • Lodash: Utility library delivering consistency, customization, and performance.
  • Moment: Parse, validate, manipulate, and display dates and times in JavaScript.
  • Bcryptjs: Library for hashing passwords.
  • Csurf: Middleware for CSRF protection.
  • Mocha: Feature-rich JavaScript test framework.
  • Chai: BDD/TDD assertion library for Node.js and the browser.

Installation

Install the package via npm:

npm install express-essentials --save
yarn add express-essentials

Features

Manage Packages

Easily manage packages within express-essentials using npm scripts:

Update Packages

Update specific packages to their latest versions:

npm run packages update <package-name1> <package-name2> ...
npm run packages update body-parser cors mongoose

To update all dependencies in express-essentials to their latest versions, run:

npm run update

Remove Packages

Remove specific packages run:

npm run packages remove <package-name1> <package-name2> 
npm run packages remove body-parser cors mongoose