Node Flashcards
What is the top level object provided by Node?
global
What are the four phases of the event loop
Timers
I/O callbacks
setImmediate
Close Callbacks
What class object is commonly used to implement the Observer pattern in Node
events
What module standard are we using for modules when we use require( ) and module.exports.
CommonJS
What module standard are we using for modules when we use “import from” and “export”.
ECMAScript
What object contains a global list of our modules?
require.cache
What kind of version number comes from Semantic Versioning
Major.Minor.Patch
In semantic versioning, when is the Major version changed?
When you make incompatible API changes
In semantic versioning, when is the Minor version changed?
When you add functionality in a backwards compatible maner
In semantic versioning, when is the Patch version changed?
Whey you make backwards compatible bug fixes
Recommended npm CSV package
csv-parse