Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create a folder using fs in node js

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

const dir = './dir'
fs.mkdir(dir);
 
PREVIOUS NEXT
Tagged: #create #folder #fs #node #js
ADD COMMENT
Topic
Name
4+8 =