import fs node js

JavaScript
const fs = require('fs') // const fs is just the variable name in which we load the module, we can name it anything else, like const filesystem, or const f
Source

Also in JavaScript: