Let's code with Node.js

Your Code

V8

operating system

C++ Bindings

Core Modules

libuv

c-ares,
zlib,
etc...

Modules

(function (exports, require, module, __filename, __dirname) {
  module.exports = exports = {};

  // Your code ...

});

File System

Processes

NPM

Streams

Thank you!

Homework: Initialize project with npm, install moment.js, run project using the run script, create an app that will write to a stream every second the current time formatted using moment.js and write that stream to the file. Use Readable, Writable and Transform APIs exposed from stream module,

Made with Slides.com