Answers for "node fs create directory and file"

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 "node fs create directory and file"

Code answers related to "Javascript"

Browse Popular Code Answers by Language