106 lines
5.4 KiB
JSON
106 lines
5.4 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "mkdirp-promise@^5.0.0",
|
|
"scope": null,
|
|
"escapedName": "mkdirp-promise",
|
|
"name": "mkdirp-promise",
|
|
"rawSpec": "^5.0.0",
|
|
"spec": ">=5.0.0 <6.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/xdl"
|
|
]
|
|
],
|
|
"_from": "mkdirp-promise@>=5.0.0 <6.0.0",
|
|
"_id": "mkdirp-promise@5.0.1",
|
|
"_inCache": true,
|
|
"_location": "/mkdirp-promise",
|
|
"_nodeVersion": "7.4.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-12-west.internal.npmjs.com",
|
|
"tmp": "tmp/mkdirp-promise-5.0.1.tgz_1485889103228_0.329774089390412"
|
|
},
|
|
"_npmUser": {
|
|
"name": "ahmadnassri",
|
|
"email": "ahmad@ahmadnassri.com"
|
|
},
|
|
"_npmVersion": "4.0.5",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "mkdirp-promise@^5.0.0",
|
|
"scope": null,
|
|
"escapedName": "mkdirp-promise",
|
|
"name": "mkdirp-promise",
|
|
"rawSpec": "^5.0.0",
|
|
"spec": ">=5.0.0 <6.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/xdl"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz",
|
|
"_shasum": "e9b8f68e552c68a9c1713b84883f7a1dd039b8a1",
|
|
"_shrinkwrap": null,
|
|
"_spec": "mkdirp-promise@^5.0.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/xdl",
|
|
"author": {
|
|
"name": "Ahmad Nassri",
|
|
"email": "ahmad@ahmadnassri.com",
|
|
"url": "https://www.ahmadnassri.com/"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ahmadnassri/mkdirp-promise/issues"
|
|
},
|
|
"dependencies": {
|
|
"mkdirp": "*"
|
|
},
|
|
"description": "Promise version of mkdirp",
|
|
"devDependencies": {
|
|
"echint": "^2.1.0",
|
|
"rimraf": "^2.5.4",
|
|
"snazzy": "^6.0.0",
|
|
"tap": "^9.0.2"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "e9b8f68e552c68a9c1713b84883f7a1dd039b8a1",
|
|
"tarball": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"gitHead": "069da6bb03aff578084b7bfc8a0edd7cd09f90e6",
|
|
"homepage": "https://github.com/ahmadnassri/mkdirp-promise",
|
|
"keywords": [
|
|
"mkdirp",
|
|
"promise"
|
|
],
|
|
"license": "ISC",
|
|
"main": "lib/index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "ahmadnassri",
|
|
"email": "ahmad@ahmadnassri.com"
|
|
}
|
|
],
|
|
"name": "mkdirp-promise",
|
|
"optionalDependencies": {},
|
|
"readme": "# mkdirp-promise [![version][npm-version]][npm-url] [![License][license-image]][license-url]\n\n[Promise] version of [mkdirp]:\n\n> Like mkdir -p, but in node.js!\n\n[![Build Status][travis-image]][travis-url]\n[![Downloads][npm-downloads]][npm-url]\n[![Code Climate][codeclimate-quality]][codeclimate-url]\n[![Coverage Status][codeclimate-coverage]][codeclimate-url]\n[![Dependency Status][dependencyci-image]][dependencyci-url]\n[![Dependencies][david-image]][david-url]\n\n## Install\n\n```bash\nnpm install --only=production --save mkdirp-promise\n```\n\n## API\n\n```js\nconst mkdirp = require('mkdirp-promise')\n```\n\n### `mkdirp(dir, [, options])`\n\n*pattern*: `String`\n*options*: `Object` or `String`\nReturn: `Object` ([Promise])\n\nWhen it finishes, it will be [*fulfilled*](http://promisesaplus.com/#point-26) with the first directory made that had to be created, if any.\n\nWhen it fails, it will be [*rejected*](http://promisesaplus.com/#point-30) with an error as its first argument.\n\n```js\nmkdirp('/tmp/foo/bar/baz')\n .then(console.log) //=> '/tmp/foo'\n .catch(console.error)\n```\n\n#### `options`\n\nThe `option` object will be directly passed to [mkdirp](https://github.com/substack/node-mkdirp#mkdirpdir-opts-cb).\n\n---\n> :copyright: [ahmadnassri.com](https://www.ahmadnassri.com/) · \n> License: [ISC][license-url] · \n> Github: [@ahmadnassri](https://github.com/ahmadnassri) · \n> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)\n\n[license-url]: http://choosealicense.com/licenses/isc/\n[license-image]: https://img.shields.io/github/license/ahmadnassri/mkdirp-promise.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/ahmadnassri/mkdirp-promise\n[travis-image]: https://img.shields.io/travis/ahmadnassri/mkdirp-promise.svg?style=flat-square\n\n[npm-url]: https://www.npmjs.com/package/mkdirp-promise\n[npm-version]: https://img.shields.io/npm/v/mkdirp-promise.svg?style=flat-square\n[npm-downloads]: https://img.shields.io/npm/dm/mkdirp-promise.svg?style=flat-square\n\n[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/mkdirp-promise\n[codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/mkdirp-promise.svg?style=flat-square\n[codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/mkdirp-promise.svg?style=flat-square\n\n[david-url]: https://david-dm.org/ahmadnassri/mkdirp-promise\n[david-image]: https://img.shields.io/david/ahmadnassri/mkdirp-promise.svg?style=flat-square\n\n[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/mkdirp-promise\n[dependencyci-image]: https://dependencyci.com/github/ahmadnassri/mkdirp-promise/badge?style=flat-square\n\n[mkdirp]: https://github.com/substack/node-mkdirp\n[Promise]: http://promisesaplus.com/\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ahmadnassri/mkdirp-promise.git"
|
|
},
|
|
"scripts": {
|
|
"coverage": "tap test --reporter silent --coverage",
|
|
"pretest": "snazzy && echint",
|
|
"test": "tap test"
|
|
},
|
|
"version": "5.0.1"
|
|
}
|