File: /home/imensosw/.npm/registry.npmjs.org/resolve-cwd/.cache.json
{"_id":"resolve-cwd","_rev":"2-5a62d212a397bd70e55a4c644d01e175","name":"resolve-cwd","description":"Resolve the path of a module like `require.resolve()` but from the current working directory","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"resolve-cwd","version":"1.0.0","description":"Resolve the path of a module like `require.resolve()` but from the current working directory","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/resolve-cwd"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["require","resolve","path","module","from","like","path","cwd","current","working","directory"],"dependencies":{"resolve-from":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"cdf0ae71148bb01e796165b1799996ae1ff2fa18","bugs":{"url":"https://github.com/sindresorhus/resolve-cwd/issues"},"homepage":"https://github.com/sindresorhus/resolve-cwd","_id":"resolve-cwd@1.0.0","_shasum":"4eaeea41ed040d1702457df64a42b2b07d246f9f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4eaeea41ed040d1702457df64a42b2b07d246f9f","tarball":"https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"resolve-cwd","version":"2.0.0","description":"Resolve the path of a module like `require.resolve()` but from the current working directory","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/resolve-cwd.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["require","resolve","path","module","from","like","cwd","current","working","directory","import"],"dependencies":{"resolve-from":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8c41f4b51c0b12792127ca2974101f8cac800a3b","bugs":{"url":"https://github.com/sindresorhus/resolve-cwd/issues"},"homepage":"https://github.com/sindresorhus/resolve-cwd#readme","_id":"resolve-cwd@2.0.0","_shasum":"00a9f7387556e27038eae232caa372a6a59b665a","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"00a9f7387556e27038eae232caa372a6a59b665a","tarball":"https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/resolve-cwd-2.0.0.tgz_1493370863917_0.16202757763676345"},"directories":{}}},"readme":"# resolve-cwd [](https://travis-ci.org/sindresorhus/resolve-cwd)\n\n> Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from the current working directory\n\n\n## Install\n\n```\n$ npm install --save resolve-cwd\n```\n\n\n## Usage\n\n```js\nconst resolveCwd = require('resolve-cwd');\n\nconsole.log(__dirname);\n//=> '/Users/sindresorhus/rainbow'\n\nconsole.log(process.cwd());\n//=> '/Users/sindresorhus/unicorn'\n\nresolveCwd('./foo');\n//=> '/Users/sindresorhus/unicorn/foo.js'\n```\n\n\n## API\n\n### resolveCwd(moduleId)\n\nLike `require()`, throws when the module can't be found.\n\n### resolveCwd.silent(moduleId)\n\nReturns `null` instead of throwing when the module can't be found.\n\n#### moduleId\n\nType: `string`\n\nWhat you would use in `require()`.\n\n\n## Related\n\n- [resolve-from](https://github.com/sindresorhus/resolve-from) - Resolve the path of a module from a given path\n- [req-from](https://github.com/sindresorhus/req-from) - Require a module from a given path\n- [req-cwd](https://github.com/sindresorhus/req-cwd) - Require a module from the current working directory\n- [resolve-pkg](https://github.com/sindresorhus/resolve-pkg) - Resolve the path of a package regardless of it having an entry point\n- [lazy-req](https://github.com/sindresorhus/lazy-req) - Require modules lazily\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2017-04-28T09:14:24.319Z","created":"2015-12-06T16:26:27.080Z","1.0.0":"2015-12-06T16:26:27.080Z","2.0.0":"2017-04-28T09:14:24.319Z"},"homepage":"https://github.com/sindresorhus/resolve-cwd#readme","keywords":["require","resolve","path","module","from","like","cwd","current","working","directory","import"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/resolve-cwd.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/resolve-cwd/issues"},"license":"MIT","readmeFilename":"readme.md","_attachments":{},"_etag":"W/\"fc858c10af3f3fe7485fde277ba0e892\"","_lastModified":"Sun, 27 May 2018 15:54:55 GMT"}