Answers for "how to require a whole folder in nodejs"

0

how to create a folder using fs in node js

//Include fs module
const fs = require('fs');

const dir = './dir'
fs.mkdir(dir);
Posted by: Guest on July-28-2020

Code answers related to "how to require a whole folder in nodejs"

Code answers related to "Javascript"

Browse Popular Code Answers by Language