DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
create path if not exist node js
var fs = require('fs'); var dir = './tmp'; if (!fs.existsSync(dir)){ fs.mkdirSync(dir); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#create
#path
#exist
#node
#js
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit