学习 Node.js

node.js

  • event-driven, non-blocking I/O model
    • lightweight and efficient
  • architecture
    • L1: Node core/Standard Library(JS)
    • L2: Node Bindings(C++)
    • L3: Chrome V8(C++) + libuv©

npm

  • NPM(Node package manager)
  • package: JS files + package.json(manifest)