Core Modules
core modules are the ones that are there, you don’t have to install them, but you do need to specifically include them. For example, load the file system module:
var fs = require("fs")
OR import the ES6 way
import fs from 'fs'
core modules are the ones that are there, you don’t have to install them, but you do need to specifically include them. For example, load the file system module:
var fs = require("fs")
OR import the ES6 way
import fs from 'fs'