%PDF- %PDF-
Direktori : /home/opti/.npm/registry.npmjs.org/make-dir/ |
Current File : /home/opti/.npm/registry.npmjs.org/make-dir/.cache.json |
{"_id":"make-dir","_rev":"17-c1905ebb3817536f81f336e58872e951","name":"make-dir","description":"Make a directory and its parents if needed - Think `mkdir -p`","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"make-dir","version":"1.0.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"pify":"^2.3.0"},"devDependencies":{"ava":"*","coveralls":"^2.13.0","graceful-fs":"^4.1.11","nyc":"^10.2.0","path-type":"^2.0.0","tempy":"^0.1.0","xo":"*"},"gitHead":"5fea1cde511edf07f0ac8101b376269de3f4c98a","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@1.0.0","_shasum":"97a011751e91dd87cfadef58832ebb04936de978","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"97a011751e91dd87cfadef58832ebb04936de978","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/make-dir-1.0.0.tgz_1494354871618_0.5163482388015836"},"directories":{}},"1.1.0":{"name":"make-dir","version":"1.1.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"pify":"^3.0.0"},"devDependencies":{"ava":"*","codecov":"^2.1.0","graceful-fs":"^4.1.11","nyc":"^10.2.0","path-type":"^3.0.0","tempy":"^0.2.1","xo":"*"},"gitHead":"de4a32fd806f4da0b880a8f2b3962d0ac34d7244","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@1.1.0","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-0Pkui4wLJ7rxvmfUvs87skoEaxmu0hCUApF8nonzpl7q//FWp9zu8W61Scz4sd/kUiqDxvUhtoam2efDyiBzcA==","shasum":"19b4369fe48c116f53c2af95ad102c0e39e85d51","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-dir-1.1.0.tgz_1508653268298_0.4698842391371727"},"directories":{}},"1.2.0":{"name":"make-dir","version":"1.2.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"pify":"^3.0.0"},"devDependencies":{"ava":"*","codecov":"^3.0.0","graceful-fs":"^4.1.11","nyc":"^11.3.0","path-type":"^3.0.0","tempy":"^0.2.1","xo":"*"},"gitHead":"7f854b4728c2ca45fdc015cc7099dae23bcfe738","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-aNUAa4UMg/UougV25bbrU4ZaaKNjJ/3/xnvg/twpmKROPdKZPZ9wGgI0opdZzO8q/zUFawoUuixuOv33eZ61Iw==","shasum":"6d6a49eead4aae296c53bbf3a1a008bd6c89469b","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-1.2.0.tgz","fileCount":4,"unpackedSize":6484},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-dir_1.2.0_1519025204776_0.3757507708266983"},"_hasShrinkwrap":false},"1.3.0":{"name":"make-dir","version":"1.3.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && nyc ava"},"files":["index.js"],"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"pify":"^3.0.0"},"devDependencies":{"ava":"*","codecov":"^3.0.0","graceful-fs":"^4.1.11","nyc":"^11.3.0","path-type":"^3.0.0","tempy":"^0.2.1","xo":"^0.20.0"},"gitHead":"e962394d01198a961d42272f1e849ab601aaef1e","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==","shasum":"79c1033b80515bd6d24ec9933e860ca75ee27f0c","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz","fileCount":4,"unpackedSize":6525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9E64CRA9TVsSAnZWagAAtRIP/2xNUbh+k8l3ZZTPipTQ\ny55O3BfyWR9scXFf1Mnw2RbGmDYiahyV/q0L3xcoEEeZZdyBD5DUTM2HjTwy\nLsFIP7/d4Z5XkYBDpFG2Anfy8tc/flW1+WVW+bo0IrdVWHCAc1SE01XWwcEn\nmmCBI8vwFSwC8VxhPhSTjZIfKtwK7P+muo2Kn/ovPOH1fF6iptClFIi/Danp\nKw5/sdxbKL2fXvDY9H9/I1gQ54wUpfA/f6mgZhdW+e6z6epf4nznRT/6ATSD\n45ycc4OXBJ4SHXO1BWUcX73a9mXE0sDtDhX8Jsd1StEUY+km31W4RQBdwMKi\nJBnrvW/0Rb39LvzJAhAc7s5KHWhBVUTlmO9S+4cxFVAT7f/nGkHtzlYx11cZ\nk1tlIZgblHa5P33AzBZeW+s+E3VIL+6K/7H7PPipyPX94iwUKUskZpnBiE3j\nufZAB5g7GKDoSYHte0MJF0NMVVLPcnMBBEQULGGxGWRRXorMHVQZuAPl2vsK\nZ/4wzI6uzkA+gRbawKHf8H0F6nb4LTMmVdkNdlMUOBDSZk5bVDKPYfKGEnAg\nXp8c504hr48qkRMhlcon7Zc4Wqco+9ThCj2J64qTgY1jgKiBztjZ2uquUflN\nt8jjzpnzKJzbvp5Y93fKGePBvVO6oEmFTT5Yr08fWl3zYPE+vsqZwP7Y5Gdk\n8NRz\r\n=i0G+\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-dir_1.3.0_1525960375355_0.21501361126034468"},"_hasShrinkwrap":false},"2.0.0":{"name":"make-dir","version":"2.0.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && nyc ava"},"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"pify":"^4.0.1","semver":"^5.6.0"},"devDependencies":{"ava":"^1.2.0","codecov":"^3.0.0","graceful-fs":"^4.1.11","nyc":"^13.1.0","path-type":"^3.0.0","tempy":"^0.2.1","xo":"^0.24.0"},"gitHead":"c1294d718f3d82fd238e91ccbda08c9b6ad474e0","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"10.15.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-DCZvJtCxpfY3a0Onp57Jm0PY9ggZENfVtBMsPdXFZDrMSHU5kYCMJkJesLr0/UrFdJKuDUYoGxCpc93n4F3Z8g==","shasum":"648a648c64fe460621461997f7ae2b40d1f65c7e","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-2.0.0.tgz","fileCount":4,"unpackedSize":7923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcV8+ZCRA9TVsSAnZWagAAHvIP/2tq5HDHtCtJJUaDoOAS\n4q3e8QPhH68116ssGCzGbM7HSxMrFpN5alQ2eluqDIZxhc+dr52SQXEloIJp\nHZG8zRlgsiBXOH/P+8CGGuABDNfYFOGyofX2VB5jjos1xsR5/UxIBiBZvCwR\n6RYUO1nDmLdusLphiWdbWS51fRQf4I8VPflkjp4fkWGzZ3Wk/4T+roxcZXcM\nyrgxLu54edFAwnre2Pyy0GbXXX3z9Uj2s7fjofUJU9LdEkS7/CD7KHCBOTRq\nDy9ouxXemgrL4ZI6+D/f+efNg4X39NoddK+pgvD2Smg5wSGM0SKtm4/5SaR9\nZvpW8nrt3Xod5F92FC2ixvrcgkizlDOGAIVhv9CLbmKCn2wF9AOLON3LACSx\n72ZWlepO0Xd1kISC0VEjxCuzbdbmfeiNMDr+X8qdni+IMP8GpStPUemVmbRv\ngSB3s3szW5o2iEwpiTqLoquGPYwdS6vVa6qFkIZ0GSEzu0t8icUoPSSLohfW\nSHIO7hBdBUrM/bhGoKS5FYMiZl24oLa8IX3nb+CLylV6InQNm3vIISFaIgSX\nDjED+fZs8d67fpUOF8MQjpe9Y3xLatIBYgcGZr3sW5wnNsitxAexAli21s9e\nelc8KOtLt1Xzvh0TNqbFzeY5DTGytQIXfwTlN5SowZRAr6SBEEiNG+sB9IxF\ne2b2\r\n=RkXt\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-dir_2.0.0_1549258649050_0.2079142967111085"},"_hasShrinkwrap":false},"2.1.0":{"name":"make-dir","version":"2.1.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && nyc ava && tsd-check"},"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"pify":"^4.0.1","semver":"^5.6.0"},"devDependencies":{"@types/graceful-fs":"^4.1.3","@types/node":"^11.10.4","ava":"^1.2.0","codecov":"^3.0.0","graceful-fs":"^4.1.11","nyc":"^13.1.0","path-type":"^3.0.0","tempy":"^0.2.1","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"1c36213da8b2e13306ab4704ea861742bbbe7a40","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@2.1.0","_nodeVersion":"10.15.1","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==","shasum":"5f0310e18b8be898cc07009295a30ae41e91e6f5","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz","fileCount":5,"unpackedSize":9198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfC2lCRA9TVsSAnZWagAAwpEP/2KxMsEidauM1H7Irlli\nCnz82p0XueCmHs1eAXgwPhG20Kf6LzmAtKQtDNZdrfcjPcWhL+4NYmPGlzeE\nPibVyLlR0zjqVfJcT/mEJhJyxiQ9DK+3cdH/qgkBjXxR6Hk5d0Q2EgzUOIIg\nLogLCVbd06bMJYljhW5P3dIZxDHhNVnHud5retu5lkB6QwgQnB/GGsAKFqRO\nhH/haetn9YOQYz8NFXA8CbI+LrWcLWMmYnrjSC1QJE8DuxR8QoFBbpur7MSh\nyEFOqY6QNlyDV+vpLQG9QOn8kvE07ZCOCljDPS2yE2/TKUhbz/GHy3dzOt08\n6hdKbhRhvP0DuKaJX3a9xhHGyPq5/Gqrt+fpJKJiPwjuBOizcN8EF+PksJdD\nqWUnW9CxI0s2RDWDSE/+cPfkYGRponT41/5piLLldFIjfXsT2JGKNNWfRKOC\niKCEKVWLB4odXZpby1oVcXBOrLOoHkQAWlDf1058nPHkYG35bwzcTeI0Pgsz\nkKQGK1SP0DIyFemGpgb9iP9AyTmo4qs2DOE3K7Oh4p+EeydZUM4i0B63B3fp\nhpM87irlqpHC+EcYW6ry94MkFVRVunXLJIRW85qphMc7bI9Q/FQnchnsqa3W\nju6omAFllTZX3M4hV72wczEt3DzZmd255TMYcEOzTjVnTEePwcbXng6bHNa1\nBexC\r\n=CTEd\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-dir_2.1.0_1551642020600_0.43649614195121145"},"_hasShrinkwrap":false},"3.0.0":{"name":"make-dir","version":"3.0.0","description":"Make a directory and its parents if needed - Think `mkdir -p`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && nyc ava && tsd"},"keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"dependencies":{"semver":"^6.0.0"},"devDependencies":{"@types/graceful-fs":"^4.1.3","@types/node":"^11.12.2","ava":"^1.4.0","codecov":"^3.2.0","graceful-fs":"^4.1.15","nyc":"^13.3.0","path-type":"^4.0.0","tempy":"^0.2.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"b13a97d67d92b0948803bdbb9b6bfb84c21079d9","bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"homepage":"https://github.com/sindresorhus/make-dir#readme","_id":"make-dir@3.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==","shasum":"1b5f39f6b9270ed33f9f054c5c0f84304989f801","tarball":"https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz","fileCount":5,"unpackedSize":9481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcodmCCRA9TVsSAnZWagAAKQAP/10hUugymOap/gUgZWJy\n6U4M07o7Vdm8gw2BZ6ulftR9p7r9DuV7ohDJUYHhQCc8F0lMWzqq8uFVsotK\njuzk1G1v6qJPwqEpinjolVtLgNyXLHKoSUKYsIIgeqt5nfCndG7uNbwlAVd9\nSxh5dBK1cycKEcHKNGqKqTRc8qfsGN1V3LxOBdZ6++dgktWMkvczaT/7fGw2\nZRNoIBt0cnGG6ws2s7Je9FEYjt3ubcQ5KmEwmKOtzv7opF0yvz6ZCStVHgVm\n0QuvgF0zp6wJo9Nk76jz/HzjLgcl8IBtBRcrvXr5xjWoCQmX4hRBemYtTIMQ\n0ABtuwcvJvrOCTeJH7UoRB3gu7niNX//wA4xMFbMTZbVmBHq3BodsghF1HVC\neHZNI9K9SSmwWtxr/yFwx98UuS2QX5NlQ3iFaouugIqT/1zWEURO5VfAH81W\nGcQLyxZJJ2K8hQAk3ipa4Tvp7iRdPlCuV85bW9xMK7u8HkpOk/fmYOC3232u\nc44iH1e9R7wKTprzQ+aWcNUfwnnfb/nw1fA89KaL+YQg8qXInNiyzVF7C9Ik\nWeoHGPrQ5jebnZkgTJjubABHqohcezPVb19P365y/EIYULbVCyvy9i/gO3um\nClIEFGlm1P2Vj+68kYp2K255i85w8gjYhFvdGyILRDkZhrZDDGf3UAxDqmjL\nOEuR\r\n=Cuni\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/make-dir_3.0.0_1554110849895_0.2988523279475934"},"_hasShrinkwrap":false}},"readme":"# make-dir [](https://travis-ci.org/sindresorhus/make-dir) [](https://codecov.io/gh/sindresorhus/make-dir)\n\n> Make a directory and its parents if needed - Think `mkdir -p`\n\n\n## Advantages over [`mkdirp`](https://github.com/substack/node-mkdirp)\n\n- Promise API *(Async/await ready!)*\n- Fixes many `mkdirp` issues: [#96](https://github.com/substack/node-mkdirp/pull/96) [#70](https://github.com/substack/node-mkdirp/issues/70) [#66](https://github.com/substack/node-mkdirp/issues/66)\n- 100% test coverage\n- CI-tested on macOS, Linux, and Windows\n- Actively maintained\n- Doesn't bundle a CLI\n- Uses native the `fs.mkdir/mkdirSync` [`recursive` option](https://nodejs.org/dist/latest/docs/api/fs.html#fs_fs_mkdir_path_options_callback) in Node.js >=10.12.0 unless [overridden](#fs)\n\n\n## Install\n\n```\n$ npm install make-dir\n```\n\n\n## Usage\n\n```\n$ pwd\n/Users/sindresorhus/fun\n$ tree\n.\n```\n\n```js\nconst makeDir = require('make-dir');\n\n(async () => {\n\tconst path = await makeDir('unicorn/rainbow/cake');\n\n\tconsole.log(path);\n\t//=> '/Users/sindresorhus/fun/unicorn/rainbow/cake'\n})();\n```\n\n```\n$ tree\n.\n└── unicorn\n └── rainbow\n └── cake\n```\n\nMultiple directories:\n\n```js\nconst makeDir = require('make-dir');\n\n(async () => {\n\tconst paths = await Promise.all([\n\t\tmakeDir('unicorn/rainbow'),\n\t\tmakeDir('foo/bar')\n\t]);\n\n\tconsole.log(paths);\n\t/*\n\t[\n\t\t'/Users/sindresorhus/fun/unicorn/rainbow',\n\t\t'/Users/sindresorhus/fun/foo/bar'\n\t]\n\t*/\n})();\n```\n\n\n## API\n\n### makeDir(path, [options])\n\nReturns a `Promise` for the path to the created directory.\n\n### makeDir.sync(path, [options])\n\nReturns the path to the created directory.\n\n#### path\n\nType: `string`\n\nDirectory to create.\n\n#### options\n\nType: `Object`\n\n##### mode\n\nType: `integer`<br>\nDefault: `0o777 & (~process.umask())`\n\nDirectory [permissions](https://x-team.com/blog/file-system-permissions-umask-node-js/).\n\n##### fs\n\nType: `Object`<br>\nDefault: `require('fs')`\n\nUse a custom `fs` implementation. For example [`graceful-fs`](https://github.com/isaacs/node-graceful-fs).\n\nUsing a custom `fs` implementation will block the use of the native `recursive` option if `fs.mkdir` or `fs.mkdirSync` is not the native function.\n\n\n## Related\n\n- [make-dir-cli](https://github.com/sindresorhus/make-dir-cli) - CLI for this module\n- [del](https://github.com/sindresorhus/del) - Delete files and directories\n- [globby](https://github.com/sindresorhus/globby) - User-friendly glob matching\n- [cpy](https://github.com/sindresorhus/cpy) - Copy files\n- [cpy-cli](https://github.com/sindresorhus/cpy-cli) - Copy files on the command-line\n- [move-file](https://github.com/sindresorhus/move-file) - Move a file\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2019-04-01T09:27:34.416Z","created":"2017-05-09T18:34:33.547Z","1.0.0":"2017-05-09T18:34:33.547Z","1.1.0":"2017-10-22T06:21:08.477Z","1.2.0":"2018-02-19T07:26:44.932Z","1.3.0":"2018-05-10T13:52:55.437Z","2.0.0":"2019-02-04T05:37:29.131Z","2.1.0":"2019-03-03T19:40:20.829Z","3.0.0":"2019-04-01T09:27:30.052Z"},"homepage":"https://github.com/sindresorhus/make-dir#readme","keywords":["mkdir","mkdirp","make","directories","dir","dirs","folders","directory","folder","path","parent","parents","intermediate","recursively","recursive","create","fs","filesystem","file-system"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/make-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/make-dir/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"raycharles":true,"kiinlam":true,"agnibrata":true,"zuojiang":true,"cedx":true,"jhq":true,"restuta":true,"tztz":true},"_etag":"W/\"da291d19214d73149ad1ecaad8ba2003\"","_lastModified":"Mon, 01 Apr 2019 09:27:35 GMT"}