{
  "_args": [
    [
      {
        "raw": "del@^2.0.2",
        "scope": null,
        "escapedName": "del",
        "name": "del",
        "rawSpec": "^2.0.2",
        "spec": ">=2.0.2 <3.0.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/flat-cache"
    ]
  ],
  "_from": "del@>=2.0.2 <3.0.0",
  "_id": "del@2.2.2",
  "_inCache": true,
  "_location": "/del",
  "_nodeVersion": "4.4.5",
  "_npmOperationalInternal": {
    "host": "packages-16-east.internal.npmjs.com",
    "tmp": "tmp/del-2.2.2.tgz_1471046735537_0.4419694794341922"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "2.15.5",
  "_phantomChildren": {},
  "_requested": {
    "raw": "del@^2.0.2",
    "scope": null,
    "escapedName": "del",
    "name": "del",
    "rawSpec": "^2.0.2",
    "spec": ">=2.0.2 <3.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/flat-cache"
  ],
  "_resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz",
  "_shasum": "c12c981d067846c84bcaf862cff930d907ffd1a8",
  "_shrinkwrap": null,
  "_spec": "del@^2.0.2",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/flat-cache",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/del/issues"
  },
  "dependencies": {
    "globby": "^5.0.0",
    "is-path-cwd": "^1.0.0",
    "is-path-in-cwd": "^1.0.0",
    "object-assign": "^4.0.1",
    "pify": "^2.0.0",
    "pinkie-promise": "^2.0.0",
    "rimraf": "^2.2.8"
  },
  "description": "Delete files and folders",
  "devDependencies": {
    "ava": "*",
    "fs-extra": "^0.30.0",
    "path-exists": "^2.0.0",
    "tempfile": "^1.1.1",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "shasum": "c12c981d067846c84bcaf862cff930d907ffd1a8",
    "tarball": "https://registry.npmjs.org/del/-/del-2.2.2.tgz"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "3a97a5ba131055fbf7eb39f5ed47db86a2fd4497",
  "homepage": "https://github.com/sindresorhus/del#readme",
  "keywords": [
    "delete",
    "del",
    "remove",
    "destroy",
    "trash",
    "unlink",
    "clean",
    "cleaning",
    "cleanup",
    "rm",
    "rmrf",
    "rimraf",
    "rmdir",
    "glob",
    "gulpfriendly",
    "file",
    "files",
    "folder",
    "dir",
    "directory",
    "fs",
    "filesystem"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "del",
  "optionalDependencies": {},
  "readme": "# del [![Build Status](https://travis-ci.org/sindresorhus/del.svg?branch=master)](https://travis-ci.org/sindresorhus/del)\n\n> Delete files and folders using [globs](https://github.com/isaacs/minimatch#usage)\n\nPretty much [rimraf](https://github.com/isaacs/rimraf) with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above.\n\n---\n\n<p align=\"center\"><b>🔥 Want to strengthen your core JavaScript skills and master ES6?</b><br>I would personally recommend this awesome <a href=\"https://ES6.io/friend/AWESOME\">ES6 course</a> by Wes Bos.</p>\n\n---\n\n\n## Install\n\n```\n$ npm install --save del\n```\n\n\n## Usage\n\n```js\nconst del = require('del');\n\ndel(['tmp/*.js', '!tmp/unicorn.js']).then(paths => {\n\tconsole.log('Deleted files and folders:\\n', paths.join('\\n'));\n});\n```\n\n\n## Beware\n\nThe glob pattern `**` matches all children and *the parent*.\n\nSo this won't work:\n\n```js\ndel.sync(['public/assets/**', '!public/assets/goat.png']);\n```\n\nYou have to explicitly ignore the parent directories too:\n\n```js\ndel.sync(['public/assets/**', '!public/assets', '!public/assets/goat.png']);\n```\n\nSuggestions on how to improve this welcome!\n\n\n## API\n\n### del(patterns, [options])\n\nReturns a promise for an array of deleted paths.\n\n### del.sync(patterns, [options])\n\nReturns an array of deleted paths.\n\n#### patterns\n\nType: `string`, `array`\n\nSee supported minimatch [patterns](https://github.com/isaacs/minimatch#usage).\n\n- [Pattern examples with expected matches](https://github.com/sindresorhus/multimatch/blob/master/test.js)\n- [Quick globbing pattern overview](https://github.com/sindresorhus/multimatch#globbing-patterns)\n\n#### options\n\nType: `object`\n\nSee the `node-glob` [options](https://github.com/isaacs/node-glob#options).\n\n##### force\n\nType: `boolean`  \nDefault: `false`\n\nAllow deleting the current working directory and outside.\n\n##### dryRun\n\nType: `boolean`  \nDefault: `false`\n\nSee what would be deleted.\n\n```js\nconst del = require('del');\n\ndel(['tmp/*.js'], {dryRun: true}).then(paths => {\n\tconsole.log('Files and folders that would be deleted:\\n', paths.join('\\n'));\n});\n```\n\n\n## CLI\n\nSee [del-cli](https://github.com/sindresorhus/del-cli) for a CLI for this module and [trash-cli](https://github.com/sindresorhus/trash-cli) for a safe version that is suitable for running by hand.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/del.git"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "version": "2.2.2"
}
