DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to create a folder in node js
const fs = require("fs"); if (!fs.existsSync(dirName)) fs.mkdirSync(dirName, { recursive: true });
PREVIOUS
NEXT
Tagged:
#create
#folder
#node
#js
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit