{"_id":"mkpath","_rev":"53939","name":"mkpath","description":"Make all directories in a path, like mkdir -p","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jrajav","email":""}],"time":{"modified":"2021-06-03T10:16:26.000Z","created":"2012-11-15T17:33:50.495Z","1.0.0":"2015-10-30T19:08:09.001Z","0.1.0":"2012-11-15T17:33:50.495Z"},"users":{"monsterkodi":true,"johnny.young":true,"benoror":true,"dpjayasekara":true,"dankle":true},"author":{"name":"Jonathan Rajavuori","email":"jrajav@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/jrajav/mkpath.git"},"versions":{"1.0.0":{"name":"mkpath","version":"1.0.0","author":{"name":"Jonathan Rajavuori","email":"jrajav@gmail.com"},"description":"Make all directories in a path, like mkdir -p","repository":{"type":"git","url":"git+https://github.com/jrajav/mkpath.git"},"keywords":["mkdir","mkdirp","directory","path","tree"],"main":"./mkpath","scripts":{"test":"node node_modules/tap/bin/tap.js ./test/*.js"},"devDependencies":{"tap":"~0.3"},"license":"MIT","gitHead":"172f1b4329c63d2376196e2384376b268b949f59","bugs":{"url":"https://github.com/jrajav/mkpath/issues"},"homepage":"https://github.com/jrajav/mkpath#readme","_id":"mkpath@1.0.0","_shasum":"ebb3a977e7af1c683ae6fda12b545a6ba6c5853d","_from":".","_npmVersion":"2.14.6","_nodeVersion":"4.1.2","_npmUser":{"name":"jrajav","email":"jrajav@gmail.com"},"dist":{"shasum":"ebb3a977e7af1c683ae6fda12b545a6ba6c5853d","size":3452,"noattachment":false,"key":"/mkpath/-/mkpath-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mkpath/download/mkpath-1.0.0.tgz"},"maintainers":[{"name":"jrajav","email":""}],"directories":{},"publish_time":1446232089001,"_cnpm_publish_time":1446232089001,"_hasShrinkwrap":false},"0.1.0":{"name":"mkpath","version":"0.1.0","author":{"name":"Jonathan Rajavuori","email":"jrajav@gmail.com"},"description":"Make all directories in a path, like mkdir -p","repository":{"type":"git","url":"https://github.com/jrajav/mkpath"},"keywords":["mkdir","mkdirp","directory","path","tree"],"main":"./mkpath","scripts":{"test":"node node_modules/tap/bin/tap.js ./test"},"devDependencies":{"tap":"~0.3"},"license":"MIT","readmeFilename":"README.md","_id":"mkpath@0.1.0","dist":{"shasum":"7554a6f8d871834cc97b5462b122c4c124d6de91","size":3186,"noattachment":false,"key":"/mkpath/-/mkpath-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mkpath/download/mkpath-0.1.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"jrajav","email":"jrajav@gmail.com"},"maintainers":[{"name":"jrajav","email":""}],"directories":{},"publish_time":1353000830495,"_cnpm_publish_time":1353000830495,"_hasShrinkwrap":false}},"readme":"# mkpath\n\nMake all directories in a path, like `mkdir -p`.\n\n## How to use\n\n    var mkpath = require('mkpath');\n    \n    mkpath('red/green/violet', function (err) {\n        if (err) throw err;\n        console.log('Directory structure red/green/violet created');\n    });\n    \n    mkpath.sync('/tmp/blue/orange', 0700);\n\n### mkpath(path, [mode = 0777 & (~process.umask()),] [callback])\n\nCreate all directories that don't exist in `path` with permissions `mode`. When finished, `callback(err)` fires with the error, if any.\n\n### mkpath.sync(path, [mode = 0777 & (~process.umask())]);\n\nSynchronous version of the same. Throws error, if any.\n\n## License\n\nThis software is released under the [MIT license](http://www.opensource.org/licenses/MIT).\n\n","_attachments":{},"homepage":"https://github.com/jrajav/mkpath#readme","bugs":{"url":"https://github.com/jrajav/mkpath/issues"},"license":"MIT"}