Permalink
Browse files

bump and document the `made` param

  • Loading branch information...
1 parent a2d6b7e commit 59598d24507e4d89dbcb2fca9752b5b1e7dd97c5 @substack committed Mar 31, 2012
Showing with 6 additions and 1 deletion.
  1. +5 −0 README.markdown
  2. +1 −1 package.json
View
@@ -33,6 +33,9 @@ permission string `mode`.
If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
+`cb(err, made)` fires with the error or the first directory `made`
+that had to be created, if any.
+
mkdirp.sync(dir, mode)
----------------------
@@ -41,6 +44,8 @@ with octal permission string `mode`.
If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
+Returns the first directory that had to be created, if any.
+
install
=======
View
@@ -1,7 +1,7 @@
{
"name" : "mkdirp",
"description" : "Recursively mkdir, like `mkdir -p`",
- "version" : "0.3.0",
+ "version" : "0.3.1",
"author" : "James Halliday <mail@substack.net> (http://substack.net)",
"main" : "./index",
"keywords" : [

0 comments on commit 59598d2

Please sign in to comment.