Các modules hữu ích trong NPM NodeJS

  1. socket.io – node.js realtime framework server
  2. mongodb – A node.js driver for MongoDB
  3. express – Fast, unopinionated, minimalist web framework
  4. async – Higher-order functions and common patterns for asynchronous code
  5. grunt – The JavaScript Task Runner
  6. request – Simplified HTTP request client.
  7. lodash – A utility library delivering consistency, customization, performance, & extras.
  8. glup – The streaming build system
  9. mocha – simple, flexible, fun test framework
  10. mongoose – Mongoose MongoDB ODM
  11. underscore – JavaScript’s functional programming helper library.

Cách cài đặt NPM trên ubuntu:

Bước 1: Vào thư mục ứng dụng cần viết

Bước 2: Trên command gõ lệnh: npm install modules (Ví dụ: $npm install socket.io)

Tham khảo: https://www.npmjs.org/