Created
September 5, 2016 06:29
-
-
Save edinsoncs/1a3a6478b12a041200e1af824bc89dcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Import file system | |
var fs = require('fs'); | |
//Tree params | 1. string o buffer, 2. mode Integer, 3 callback | |
fs.mkdir('edifolder', 1, function(){ | |
console.log('se creo un folder'); | |
}); | |
//Other form sync | |
var newFolder = fs.mkdirSync('sync', 1); | |
newFolder; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment