Skip to content

Instantly share code, notes, and snippets.

@blakmatrix blakmatrix/check.js
Created Dec 13, 2012

Embed
What would you like to do?
var myPath = path.join(__dirname,'public');
fs.exists(mypath, function (exists) {
return exists ? null : mkdirp(myPath);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.