Ghost in Tujiland
  • Home
Subscribe
Tagged

module

A collection of 1 post

nodejs

Tuj learning Node.js: requiring modules

Tuj read about a nice article, requiring modules. It is simple. Everything is a function... or json. Oops, sudden change of mind. require is a function that takes a string and returns the exports object of the module the string resolves to.

Tuji May 20, 2017 • 1 min read
Ghost in Tujiland © 2023
Powered by Ghost