Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Technology: NPM Packages

Sjors Wijsman edited this page Jun 18, 2020 · 7 revisions

Nerdr Banner

NPM Packages

Table of Contents

Dependencies

Express & Database

  • express - express is a framework for Node.js apps that provides features for web-based applications.
  • express-session - express-session provides sessions to store user session data for persistency.
  • mongodb - mongodb allows Node.js apps to connect to MongoDB databases.
  • mongoose - mongoose is an object modelling tool allowing developers to create schemas for MongoDB.
  • body-parser - body-parser is middleware that parses incoming request bodies for easy form uploads.

Templating

  • ejs - ejs is a templating engine for Node.js that embeds JavaScript inside HTML files.

Security

  • bcrypt - bcrypt makes encrypting passwords easy.
  • dotenv - dotenv allows the user to setup environment variables to keep these secret.
  • helmet - helmet sets HTTP headers to secure various Express app vulnerabilities.

Miscellaneous

  • axios - axios is a promise-based client to make http requests from inside Node.js.

Dev Dependencies

Linting

  • eslint - eslint is a linter to help enforce code styles and reduce errors.
  • eslint-config-google - eslint-config-google is a preset configuration for eslint.
  • eslint-plugin-import - eslint-plugin-import provides additional linting capabilities.

Productivity

  • nodemon - nodemon automatically restarts the localhost when it detects file changes for easy development.
  • node-sass - node-sass allows the user to use .scss files inside Node.js projects.