Answers for "fs method to create file in directory"

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 "fs method to create file in directory"

Code answers related to "Javascript"

Browse Popular Code Answers by Language