{"author":{"name":"Baolei Chen","email":"chenbl@liepin.com","url":"http://ued.liepin.com"},"dependencies":{},"description":"mkdir-p","devDependencies":{},"keywords":["mkdir-p"],"main":"index.js","name":"mkdir-p","repository":{"url":"https://github.com/pillys/mkdir-p","type":"git"},"version":"0.0.1","bugs":{"url":"https://github.com/pillys/mkdir-p/issues"},"homepage":"https://github.com/pillys/mkdir-p","scripts":{},"_id":"mkdir-p@0.0.1","dist":{"shasum":"ae5fc7e2f94530433e81b883e44f3cbd1cf1f071","tarball":"http://registry-npm.ywwl.com/mkdir-p/download/mkdir-p-0.0.1.tgz","integrity":"sha512-fOMCEE1Mzrm3JJHMVZJ/NaHqMAr4foUPRhWOtPGRUe7jrklsrwIuRy1SWUf7qCCyYG2E1tYaJ1cOESJjS4zcqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+D/cYmd41MqJjJf0h4373UU810w3tVoo5MGW4luXIDwIgS3g6524vwmc5HGAKOXt75xKnL4KH3a9bXcC+eDTb95I="}],"size":685,"noattachment":false,"key":"/mkdir-p/-/mkdir-p-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"pillys","email":"chenbl@liepin.com"},"maintainers":[{"name":"pillys","email":"chenbl@liepin.com"}],"directories":{},"readme":"# mkdir-p\r\n\r\n  easy used 'mkdir', when dirpath or parent dirpath not exist, it will create the directory automatically.\r\n\r\n# install\r\n\r\n```js\r\nnpm install mkdir-p\r\n```\r\n\r\n# usage\r\n\r\nSync:\r\n\r\n```js\r\nvar mkdir = require('mkdir-p');\r\n\r\nmkdir.sync('/a/b/c/d');\r\n```\r\n\r\nAsync:\r\n\r\n```js\r\nvar mkdir = require('mkdir-p');\r\n\r\nmkdir('/a/b/c/d', function(err){\r\n  if(err){\r\n    console.log(err);\r\n  } else {\r\n    console.log('ok');\r\n  }\r\n});\r\n```\r\n\r\n# License\r\n\r\n  [MIT](LICENSE)","publish_time":1425631794576,"_cnpm_publish_time":1425631794576,"dist-tags":{"latest":"0.0.7"}}