create dir fs node js code example
Example: how to create a folder using fs in node js
//Include fs module
const fs = require('fs');
const dir = './dir'
fs.mkdir(dir);
//Include fs module
const fs = require('fs');
const dir = './dir'
fs.mkdir(dir);