{"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.2","bugs":{"url":"https://github.com/pillys/mkdir-p/issues"},"homepage":"https://github.com/pillys/mkdir-p","scripts":{},"_id":"mkdir-p@0.0.2","dist":{"shasum":"e2d4966caec9224c8a2add7d0b62d1d11c84d734","tarball":"http://registry-npm.ywwl.com/mkdir-p/download/mkdir-p-0.0.2.tgz","integrity":"sha512-VBgZ+UIK0H+GLxoaONGomJ3c+lkHJwlPG6X6d9vnAtwOERldLyAkWk/0sxLQ6nSygrwdC7owZtj/k+reJZ9LHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpLwPy6A/AeZtqwXgbw0ODZs+IcN6CnRNl28mKtiCmYQIhALU8eboukuxsEB1tRxLSQmYLxoE1PeNq/4uYAaoGO5+8"}],"size":929,"noattachment":false,"key":"/mkdir-p/-/mkdir-p-0.0.2.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":1425634537212,"_cnpm_publish_time":1425634537212,"dist-tags":{"latest":"0.0.7"}}