{
  "_args": [
    [
      {
        "raw": "fireworm@^0.7.0",
        "scope": null,
        "escapedName": "fireworm",
        "name": "fireworm",
        "rawSpec": "^0.7.0",
        "spec": ">=0.7.0 <0.8.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/testem"
    ]
  ],
  "_from": "fireworm@>=0.7.0 <0.8.0",
  "_id": "fireworm@0.7.1",
  "_inCache": true,
  "_location": "/fireworm",
  "_nodeVersion": "6.0.0",
  "_npmOperationalInternal": {
    "host": "packages-16-east.internal.npmjs.com",
    "tmp": "tmp/fireworm-0.7.1.tgz_1467075508541_0.44626474427059293"
  },
  "_npmUser": {
    "name": "airportyh",
    "email": "airportyh@gmail.com"
  },
  "_npmVersion": "3.8.6",
  "_phantomChildren": {},
  "_requested": {
    "raw": "fireworm@^0.7.0",
    "scope": null,
    "escapedName": "fireworm",
    "name": "fireworm",
    "rawSpec": "^0.7.0",
    "spec": ">=0.7.0 <0.8.0",
    "type": "range"
  },
  "_requiredBy": [
    "/testem"
  ],
  "_resolved": "https://registry.npmjs.org/fireworm/-/fireworm-0.7.1.tgz",
  "_shasum": "ccf20f7941f108883fcddb99383dbe6e1861c758",
  "_shrinkwrap": null,
  "_spec": "fireworm@^0.7.0",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/testem",
  "author": {
    "name": "Toby Ho"
  },
  "bugs": {
    "url": "https://github.com/airportyh/fireworm/issues"
  },
  "dependencies": {
    "async": "~0.2.9",
    "is-type": "0.0.1",
    "lodash.debounce": "^3.1.1",
    "lodash.flatten": "^3.0.2",
    "minimatch": "^3.0.2"
  },
  "description": "A crawling file watcher.",
  "devDependencies": {
    "bodydouble": "~0.1.2",
    "insist": "~0.1.0",
    "ispy": "~0.1.2",
    "mkdirp": "~0.3.5",
    "mocha": "^2.3.4"
  },
  "directories": {},
  "dist": {
    "shasum": "ccf20f7941f108883fcddb99383dbe6e1861c758",
    "tarball": "https://registry.npmjs.org/fireworm/-/fireworm-0.7.1.tgz"
  },
  "files": [
    "lib",
    "index.js",
    "README.md"
  ],
  "gitHead": "c3889c4983ba8d2a0ceba44269868430f4df8833",
  "homepage": "https://github.com/airportyh/fireworm#readme",
  "keywords": [
    "filewatching",
    "utility"
  ],
  "license": "MIT",
  "main": "fireworm.js",
  "maintainers": [
    {
      "name": "airportyh",
      "email": "airportyh@gmail.com"
    }
  ],
  "name": "fireworm",
  "optionalDependencies": {},
  "readme": "Fireworm\n========\n\n<img src=\"https://api.travis-ci.org/airportyh/fireworm.png\">\n\nFireworm is a crawling file watcher.\n\n## Install\n\n    npm install fireworm\n\n## Usage\n\n``` js\nvar fireworm = require('fireworm')\n\n// make a new file watcher\nvar fw = fireworm('start_dir')\n\n// Add the files you want to watch for changes on (can be glob)\nfw.add('lib/**/*.js')\nfw.add('tests/**/*.js')\n\n// ignore some patterns\nfw.ignore('tests/dontcare/*.js')\n\n// register for the `change` event\nfw.on('change', function(filename){\n    console.log(filename + ' just changed!')\n})\n```\n\n## How is this different from other file watchers?\n\nFireworm works by crawling and re-crawling the relevant directories when necessary. Because of this, it can detect newly created files, new files in newly created directories, re-created files, and even new files within re-created directories too - as long as the file matches the paths you are watching.\n\nAs of version 0.5.2, fireworm uses `fs.watch` to watch directories only.\n\n## API\n\n### Constructor\n\n`fireworm(dir, [options])` - returns a file watcher object for files within `dir`.\n\nOptions:\n\n* `ignoreInitial:boolean` (default `false`) - do not fire `add` events when encountering files or directory for the initial time it is crawled.\n* `skipDirEntryPatterns:array` (default `['node_modules', '.*']`) - when crawling directories, skip the directory entries which match these glob patterns.\n\n### File Watcher Object\n\n### Methods\n\n* `add(filepath:string|array)` - add these file patterns (glob) to the watch list. The parameter(s) can be a variable number of strings or arrays of strings.\n* `ignore(filepath:string|array)` - add these file patterns (glob) to the ignore list. The parameter(s) can be a variable number of strings or arrays of strings.\n* `clear()` - clear all previously added match patterns or ignore patterns.\n\n### Events\n\nFile watcher objects are [EventEmitters](http://nodejs.org/api/events.html#events_class_events_eventemitter), and can emit these events:\n\n* `add` - fired when a matching file has been added to the FS. Parameter: `path` - the path to the file\n* `change` - fired when a matching file has been modified. Parameter: `path` - the path to the file\n* `remove` - fired when a matching file has been removed from the FS. Parameter: `path` - the path to the file\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2013 Toby Ho &lt;airportyh@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/airportyh/fireworm.git"
  },
  "scripts": {
    "test": "mocha -u tdd tests/*_tests.js"
  },
  "version": "0.7.1"
}
