{
  "_args": [
    [
      {
        "raw": "snyk-resolve@1.0.0",
        "scope": null,
        "escapedName": "snyk-resolve",
        "name": "snyk-resolve",
        "rawSpec": "1.0.0",
        "spec": "1.0.0",
        "type": "version"
      },
      "/build/npm-check-updates/pkg/npm-check-updates/usr/lib/node_modules/npm-check-updates/node_modules/snyk"
    ]
  ],
  "_from": "snyk-resolve@1.0.0",
  "_id": "snyk-resolve@1.0.0",
  "_inCache": true,
  "_location": "/npm-check-updates/snyk-resolve",
  "_nodeVersion": "4.2.4",
  "_npmUser": {
    "name": "remy",
    "email": "remy@leftlogic.com"
  },
  "_npmVersion": "2.14.12",
  "_phantomChildren": {},
  "_requested": {
    "raw": "snyk-resolve@1.0.0",
    "scope": null,
    "escapedName": "snyk-resolve",
    "name": "snyk-resolve",
    "rawSpec": "1.0.0",
    "spec": "1.0.0",
    "type": "version"
  },
  "_requiredBy": [
    "/npm-check-updates/snyk",
    "/npm-check-updates/snyk-policy",
    "/npm-check-updates/snyk-resolve-deps"
  ],
  "_resolved": "https://registry.npmjs.org/snyk-resolve/-/snyk-resolve-1.0.0.tgz",
  "_shasum": "bbe9196d37f57c39251e6be75ccdd5b2097e99a2",
  "_shrinkwrap": null,
  "_spec": "snyk-resolve@1.0.0",
  "_where": "/build/npm-check-updates/pkg/npm-check-updates/usr/lib/node_modules/npm-check-updates/node_modules/snyk",
  "author": {
    "name": "Remy Sharp"
  },
  "bugs": {
    "url": "https://github.com/Snyk/resolve-package/issues"
  },
  "dependencies": {
    "debug": "^2.2.0",
    "then-fs": "^2.0.0"
  },
  "description": "Resolves the location of a node package given a path",
  "devDependencies": {
    "es6-promise": "^3.0.2",
    "jscs": "^2.8.0",
    "proxyquire": "^1.7.3",
    "semantic-release": "^4.3.5",
    "tap": "^5.1.1",
    "tape": "^4.4.0"
  },
  "directories": {
    "test": "test"
  },
  "dist": {
    "shasum": "bbe9196d37f57c39251e6be75ccdd5b2097e99a2",
    "tarball": "https://registry.npmjs.org/snyk-resolve/-/snyk-resolve-1.0.0.tgz"
  },
  "gitHead": "e04bd2a373333f498ec46d5a4937432d12e70a50",
  "homepage": "https://github.com/Snyk/resolve-package#readme",
  "keywords": [
    "snyk"
  ],
  "license": "Apache-2.0",
  "main": "lib/index.js",
  "maintainers": [
    {
      "name": "remy",
      "email": "remy@leftlogic.com"
    }
  ],
  "name": "snyk-resolve",
  "optionalDependencies": {},
  "readme": "# snyk-resolve\n\nFinds the filename for a given package name and starting directory. This is used to resolve packages in situations like npm@3 and deduped packages.\n\nSupports both async (via promises) and sync methods of looking up.\n\n## Usage\n\n```js\nvar resolve = require('snyk-resolve');\n\n// async (promise based)\nresolve('foo', process.cwd()).then(function (dir) {\n  // assuming that `foo` lived in the root of your drive\n  console.assert(dir === '/node_modules/foo');\n});\n\n// sync\nvar dir = resolve('bar', process.cwd());\n// throws Error('package not found bar')\n```\n\nSee tests for more examples.\n\n## Supports\n\n- npm@2 directory structure\n- npm@3 directory structure\n- deduped modules\n- scoped modules",
  "readmeFilename": "README.mdown",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Snyk/resolve-package.git"
  },
  "scripts": {
    "lint": "jscs lib/*.js -v",
    "semantic-release": "semantic-release pre && npm publish && semantic-release post",
    "test": "npm run lint && tap test/*.test.js --cov --timeout=60"
  },
  "version": "1.0.0"
}
