{
	"name": "req-cwd",
	"versions": {
		"1.0.0": {
			"name": "req-cwd",
			"version": "1.0.0",
			"description": "Require a module like `require()` but from the current working directory",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/sindresorhus/req-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": {
				"req-from": "^1.0.0"
			},
			"devDependencies": {
				"ava": "*",
				"xo": "*"
			},
			"gitHead": "3df8dc7c0acf47419afe767bbfa3e644d6ce567b",
			"bugs": {
				"url": "https://github.com/sindresorhus/req-cwd/issues"
			},
			"homepage": "https://github.com/sindresorhus/req-cwd",
			"_id": "req-cwd@1.0.0",
			"_shasum": "c75db606bf0d18bfbf6529669dad7249e31041d0",
			"_from": ".",
			"_npmVersion": "2.14.7",
			"_nodeVersion": "4.2.1",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"shasum": "c75db606bf0d18bfbf6529669dad7249e31041d0",
				"tarball": "https://registry.npmjs.org/req-cwd/-/req-cwd-1.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"1.0.1": {
			"name": "req-cwd",
			"version": "1.0.1",
			"description": "Require a module like `require()` but from the current working directory",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "https://github.com/sindresorhus/req-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": {
				"req-from": "^1.0.1"
			},
			"devDependencies": {
				"ava": "*",
				"xo": "*"
			},
			"gitHead": "bd130ecd78665493682c5f38907e3a5f1ff26dd1",
			"bugs": {
				"url": "https://github.com/sindresorhus/req-cwd/issues"
			},
			"homepage": "https://github.com/sindresorhus/req-cwd",
			"_id": "req-cwd@1.0.1",
			"_shasum": "0d73aeae9266e697a78f7976019677e76acf0fff",
			"_from": ".",
			"_npmVersion": "2.14.7",
			"_nodeVersion": "4.2.1",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"shasum": "0d73aeae9266e697a78f7976019677e76acf0fff",
				"tarball": "https://registry.npmjs.org/req-cwd/-/req-cwd-1.0.1.tgz"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"2.0.0": {
			"name": "req-cwd",
			"version": "2.0.0",
			"description": "Require a module like `require()` but from the current working directory",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/req-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": {
				"req-from": "^2.0.0"
			},
			"devDependencies": {
				"ava": "*",
				"xo": "*"
			},
			"gitHead": "800a75b0fd54003cac624662c4103b881f30d2f8",
			"bugs": {
				"url": "https://github.com/sindresorhus/req-cwd/issues"
			},
			"homepage": "https://github.com/sindresorhus/req-cwd#readme",
			"_id": "req-cwd@2.0.0",
			"_shasum": "d4082b4d44598036640fb73ddea01ed53db49ebc",
			"_from": ".",
			"_npmVersion": "2.15.11",
			"_nodeVersion": "4.7.3",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"shasum": "d4082b4d44598036640fb73ddea01ed53db49ebc",
				"tarball": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-18-east.internal.npmjs.com",
				"tmp": "tmp/req-cwd-2.0.0.tgz_1493371186151_0.068817533319816"
			},
			"directories": {},
			"contributors": []
		},
		"3.0.0": {
			"name": "req-cwd",
			"version": "3.0.0",
			"description": "Require a module like `require()` but from the current working directory",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/req-cwd.git"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=4"
			},
			"scripts": {
				"test": "xo && ava"
			},
			"keywords": [
				"require",
				"resolve",
				"path",
				"module",
				"from",
				"like",
				"cwd",
				"current",
				"working",
				"directory",
				"import"
			],
			"dependencies": {
				"req-from": "^2.0.0"
			},
			"devDependencies": {
				"ava": "*",
				"xo": "*"
			},
			"gitHead": "800a75b0fd54003cac624662c4103b881f30d2f8",
			"bugs": {
				"url": "https://github.com/sindresorhus/req-cwd/issues"
			},
			"homepage": "https://github.com/sindresorhus/req-cwd#readme",
			"_id": "req-cwd@3.0.0",
			"_npmVersion": "6.4.1",
			"_nodeVersion": "8.12.0",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"integrity": "sha512-mNG+n8YOrmxr+BQndYSieHz4MypO9x19wf9/dwN+pzOS5bSokfCZpynC0A0R2kxowXCAkVD0vW111Ku9+BBaVg==",
				"shasum": "d17f664a1b6f3cb3f191fb6e2d7f6f7ef7a41816",
				"tarball": "https://registry.npmjs.org/req-cwd/-/req-cwd-3.0.0.tgz",
				"fileCount": 4,
				"unpackedSize": 3483,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4+++CRA9TVsSAnZWagAAqN0P/ilXsAHLI9fBgmtK/Cqy\nRr436WePZICwjBGX6vIBeJHFOFQd8t2AKXBj/dA4jgqMJCUuOKiqZQT6nBGM\nzg2N6W4BazEE+mH36pH/d8nCCrUS2FLXhjmPAR1l0MVRYfYCLW/rzqvjE0JN\n4o9eYm4i/6BEjuJug56eJqFIeP+ct60PY6U1zdkK5IMy9e2e2rPuiMRNu5Uz\nZGbdmPvAHP/QPnK0VIGi9sWYMJrL8Ou7NG0sF4Faxn232KqLYLsyVAAd7E4K\ngp8UH9OiHhdSq+YCLDlpn11UCr5RIJju0axQUcp1UXbetJPKUtzbMdINI386\npWv1RHD/qF+lOG4np0hzfOJFTFPwNGp2J39nnm6k5ei/qG5M66ec2pPqyoOZ\n6NBQCvhAGNLN/QSZkeSiLaZfERpGExkSr+eeKmIrHMYOouoxOo1mecsXn5rc\nW+NwnoDXYpx2L6PrdORvFN7Bw8OjEHh6SeEPnFNlYKDNP6OeMtSytw4moJrh\nkg8oZ63+/w15pCICoEy4UGz2Do0+RD+Y9k12dDiP+63+zxLpQLbwU9AXq5r5\nOSjrQyTgZv5/L1bVA5QIGm0E9mvTjKbVT660MLGViLBgqwTT7K70y4/H8nha\nf0OWD50DgsJk5zznY2ySNfg+ZwV3DIRL3MU35+6G7nUhXnWlWzo39vUgr4u4\nSr5T\r\n=edsA\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/req-cwd_3.0.0_1541664701584_0.022874653287624058"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Renamed to `import-cwd`.",
			"contributors": []
		}
	},
	"time": {
		"modified": "2019-01-05T09:33:49.928Z",
		"created": "2015-12-06T16:45:10.389Z",
		"1.0.0": "2015-12-06T16:45:10.389Z",
		"1.0.1": "2015-12-06T20:11:17.780Z",
		"2.0.0": "2017-04-28T09:19:47.969Z",
		"3.0.0": "2018-11-08T08:11:41.800Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "3.0.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"8b51569bcad6b7ca19d391d72eb8d402\"",
			"fetched": 1594657061166
		}
	},
	"_distfiles": {
		"req-cwd-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/req-cwd/-/req-cwd-1.0.0.tgz",
			"sha": "c75db606bf0d18bfbf6529669dad7249e31041d0",
			"registry": "npmjs"
		},
		"req-cwd-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/req-cwd/-/req-cwd-1.0.1.tgz",
			"sha": "0d73aeae9266e697a78f7976019677e76acf0fff",
			"registry": "npmjs"
		},
		"req-cwd-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz",
			"sha": "d4082b4d44598036640fb73ddea01ed53db49ebc",
			"registry": "npmjs"
		},
		"req-cwd-3.0.0.tgz": {
			"url": "https://registry.npmjs.org/req-cwd/-/req-cwd-3.0.0.tgz",
			"sha": "d17f664a1b6f3cb3f191fb6e2d7f6f7ef7a41816",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"req-cwd-1.0.1.tgz": {
			"shasum": "0d73aeae9266e697a78f7976019677e76acf0fff"
		}
	},
	"_rev": "2-c6f55bd7051e76fd",
	"_id": "req-cwd",
	"readme": "# req-cwd [![Build Status](https://travis-ci.org/sindresorhus/req-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/req-cwd)\n\n> Require a module like [`require()`](https://nodejs.org/api/globals.html#globals_require) but from the current working directory\n\n\n## Install\n\n```\n$ npm install --save req-cwd\n```\n\n\n## Usage\n\n```js\nconst reqCwd = require('req-cwd');\n\n// Target module is at '/Users/sindresorhus/unicorn/foo.js'\n\nconsole.log(__dirname);\n//=> '/Users/sindresorhus/rainbow'\n\nconsole.log(process.cwd());\n//=> '/Users/sindresorhus/unicorn'\n\nconst foo = reqCwd('./foo');\n```\n\n\n## API\n\n### reqCwd(moduleId)\n\nLike `require()`, throws when the module can't be found.\n\n### reqCwd.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- [req-from](https://github.com/sindresorhus/req-from) - Require a module from a given path\n- [resolve-from](https://github.com/sindresorhus/resolve-from) - Resolve the path of a module from a given path\n- [resolve-cwd](https://github.com/sindresorhus/resolve-cwd) - Resolve the path of 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)"
}