Answers for "fs promises create directory if not exist"

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 promises create directory if not exist"

Code answers related to "Javascript"

Browse Popular Code Answers by Language