| 1 |
{ |
| 2 |
"_id": "pkg-dir", |
| 3 |
"_rev": "18-7fbe2745a7aae83c456b8ea73f057671", |
| 4 |
"name": "pkg-dir", |
| 5 |
"description": "Find the root directory of a Node.js project or npm package", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "4.2.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "pkg-dir", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Find the root directory of a npm package", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/pkg-dir" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "xo && ava" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"package", |
| 35 |
"json", |
| 36 |
"root", |
| 37 |
"npm", |
| 38 |
"entry", |
| 39 |
"find", |
| 40 |
"up", |
| 41 |
"find-up", |
| 42 |
"findup", |
| 43 |
"look-up", |
| 44 |
"look", |
| 45 |
"file", |
| 46 |
"search", |
| 47 |
"match", |
| 48 |
"package", |
| 49 |
"resolve", |
| 50 |
"parent", |
| 51 |
"parents", |
| 52 |
"folder", |
| 53 |
"directory", |
| 54 |
"dir", |
| 55 |
"walk", |
| 56 |
"walking", |
| 57 |
"path" |
| 58 |
], |
| 59 |
"dependencies": { |
| 60 |
"find-up": "^1.0.0" |
| 61 |
}, |
| 62 |
"devDependencies": { |
| 63 |
"ava": "*", |
| 64 |
"xo": "*" |
| 65 |
}, |
| 66 |
"gitHead": "a06a60b1a2cddf2f84912221477311327398da01", |
| 67 |
"bugs": { |
| 68 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 69 |
}, |
| 70 |
"homepage": "https://github.com/sindresorhus/pkg-dir", |
| 71 |
"_id": "[email protected]", |
| 72 |
"_shasum": "7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4", |
| 73 |
"_from": ".", |
| 74 |
"_npmVersion": "2.11.3", |
| 75 |
"_nodeVersion": "0.12.7", |
| 76 |
"_npmUser": { |
| 77 |
"name": "sindresorhus", |
| 78 |
"email": "[email protected]" |
| 79 |
}, |
| 80 |
"dist": { |
| 81 |
"shasum": "7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4", |
| 82 |
"tarball": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz" |
| 83 |
}, |
| 84 |
"maintainers": [ |
| 85 |
{ |
| 86 |
"name": "sindresorhus", |
| 87 |
"email": "[email protected]" |
| 88 |
} |
| 89 |
], |
| 90 |
"directories": {} |
| 91 |
}, |
| 92 |
"2.0.0": { |
| 93 |
"name": "pkg-dir", |
| 94 |
"version": "2.0.0", |
| 95 |
"description": "Find the root directory of a Node.js project or npm package", |
| 96 |
"license": "MIT", |
| 97 |
"repository": { |
| 98 |
"type": "git", |
| 99 |
"url": "git+https://github.com/sindresorhus/pkg-dir.git" |
| 100 |
}, |
| 101 |
"author": { |
| 102 |
"name": "Sindre Sorhus", |
| 103 |
"email": "[email protected]", |
| 104 |
"url": "sindresorhus.com" |
| 105 |
}, |
| 106 |
"engines": { |
| 107 |
"node": ">=4" |
| 108 |
}, |
| 109 |
"scripts": { |
| 110 |
"test": "xo && ava" |
| 111 |
}, |
| 112 |
"files": [ |
| 113 |
"index.js" |
| 114 |
], |
| 115 |
"keywords": [ |
| 116 |
"package", |
| 117 |
"json", |
| 118 |
"root", |
| 119 |
"npm", |
| 120 |
"entry", |
| 121 |
"find", |
| 122 |
"up", |
| 123 |
"find-up", |
| 124 |
"findup", |
| 125 |
"look-up", |
| 126 |
"look", |
| 127 |
"file", |
| 128 |
"search", |
| 129 |
"match", |
| 130 |
"resolve", |
| 131 |
"parent", |
| 132 |
"parents", |
| 133 |
"folder", |
| 134 |
"directory", |
| 135 |
"dir", |
| 136 |
"walk", |
| 137 |
"walking", |
| 138 |
"path" |
| 139 |
], |
| 140 |
"dependencies": { |
| 141 |
"find-up": "^2.1.0" |
| 142 |
}, |
| 143 |
"devDependencies": { |
| 144 |
"ava": "*", |
| 145 |
"xo": "*" |
| 146 |
}, |
| 147 |
"gitHead": "c18df2945cd928787f3290042a6c69352b4e13a5", |
| 148 |
"bugs": { |
| 149 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 150 |
}, |
| 151 |
"homepage": "https://github.com/sindresorhus/pkg-dir#readme", |
| 152 |
"_id": "[email protected]", |
| 153 |
"_shasum": "f6d5d1109e19d63edf428e0bd57e12777615334b", |
| 154 |
"_from": ".", |
| 155 |
"_npmVersion": "2.15.11", |
| 156 |
"_nodeVersion": "4.7.3", |
| 157 |
"_npmUser": { |
| 158 |
"name": "sindresorhus", |
| 159 |
"email": "[email protected]" |
| 160 |
}, |
| 161 |
"dist": { |
| 162 |
"shasum": "f6d5d1109e19d63edf428e0bd57e12777615334b", |
| 163 |
"tarball": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz" |
| 164 |
}, |
| 165 |
"maintainers": [ |
| 166 |
{ |
| 167 |
"name": "sindresorhus", |
| 168 |
"email": "[email protected]" |
| 169 |
} |
| 170 |
], |
| 171 |
"_npmOperationalInternal": { |
| 172 |
"host": "packages-12-west.internal.npmjs.com", |
| 173 |
"tmp": "tmp/pkg-dir-2.0.0.tgz_1493912348467_0.855934705818072" |
| 174 |
}, |
| 175 |
"directories": {} |
| 176 |
}, |
| 177 |
"3.0.0": { |
| 178 |
"name": "pkg-dir", |
| 179 |
"version": "3.0.0", |
| 180 |
"description": "Find the root directory of a Node.js project or npm package", |
| 181 |
"license": "MIT", |
| 182 |
"repository": { |
| 183 |
"type": "git", |
| 184 |
"url": "git+https://github.com/sindresorhus/pkg-dir.git" |
| 185 |
}, |
| 186 |
"author": { |
| 187 |
"name": "Sindre Sorhus", |
| 188 |
"email": "[email protected]", |
| 189 |
"url": "sindresorhus.com" |
| 190 |
}, |
| 191 |
"engines": { |
| 192 |
"node": ">=6" |
| 193 |
}, |
| 194 |
"scripts": { |
| 195 |
"test": "xo && ava" |
| 196 |
}, |
| 197 |
"files": [ |
| 198 |
"index.js" |
| 199 |
], |
| 200 |
"keywords": [ |
| 201 |
"package", |
| 202 |
"json", |
| 203 |
"root", |
| 204 |
"npm", |
| 205 |
"entry", |
| 206 |
"find", |
| 207 |
"up", |
| 208 |
"find-up", |
| 209 |
"findup", |
| 210 |
"look-up", |
| 211 |
"look", |
| 212 |
"file", |
| 213 |
"search", |
| 214 |
"match", |
| 215 |
"resolve", |
| 216 |
"parent", |
| 217 |
"parents", |
| 218 |
"folder", |
| 219 |
"directory", |
| 220 |
"dir", |
| 221 |
"walk", |
| 222 |
"walking", |
| 223 |
"path" |
| 224 |
], |
| 225 |
"dependencies": { |
| 226 |
"find-up": "^3.0.0" |
| 227 |
}, |
| 228 |
"devDependencies": { |
| 229 |
"ava": "*", |
| 230 |
"xo": "*" |
| 231 |
}, |
| 232 |
"gitHead": "bf7429aa96375d76455826a333f1f7f4da150805", |
| 233 |
"bugs": { |
| 234 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 235 |
}, |
| 236 |
"homepage": "https://github.com/sindresorhus/pkg-dir#readme", |
| 237 |
"_id": "[email protected]", |
| 238 |
"_npmVersion": "5.6.0", |
| 239 |
"_nodeVersion": "8.11.2", |
| 240 |
"_npmUser": { |
| 241 |
"name": "sindresorhus", |
| 242 |
"email": "[email protected]" |
| 243 |
}, |
| 244 |
"dist": { |
| 245 |
"integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", |
| 246 |
"shasum": "2749020f239ed990881b1f71210d51eb6523bea3", |
| 247 |
"tarball": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", |
| 248 |
"fileCount": 4, |
| 249 |
"unpackedSize": 3421, |
| 250 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ5rHCRA9TVsSAnZWagAAdbIQAKIgZ2BqfviuK3Pg7GWM\nv12xcztijs0OdD/Gaf5yAvI9ixCAMkSTmzuRB3VHBG5NbGf8/2rB2dX39SWM\nEPL01r0I8zxvZs/N+nUVGT1TA1O6Y2gYFT6LMDEdCBVunKy9Sbe6IpwJOAHz\nRuSDCz08e9VqwGhmmwJIEZPwW+UwymjqlOsq14DkP7nw96ZtVkJ9xWd38d4M\nEyDGnKzCpPnNuZs5kuPzt7tbLCOlqepe/HmH+zIuxt7UiRvtzZxYTc7Na90Y\niTJIneWW/TkMsgfAjpxbcs6sdbZhlvmpKKRZN3Q3YnaXjugwcJA8WlbJPe38\n911s8inJ57QhIbzI6CotAEHgJWuw6e532v4rSxdauU72f11ZGcNu4dna8ICg\nbteYEHLgNVZdLTBRbhn731/kPymmdwqhxAK3CDacj9slWMDGdArWmWh5SlLr\nduxllM82kRUr544f7Pl1WxHrCJZBVzXNCOLoOJF6b1uI0u081SGjnKWt+w7F\nMYRPkkP5O3rRQ4zxNZV/7q/Tsrzu8hplQA2nPDQ3i1Jny88g7DhKob5PZGyw\nor7E5SvJq6KR3wTxNq4E+hkmtm6IzLwsaluTWXC8NdNd+7JbIFBsL5uxm/Li\n6G1rkF+tk5cBFguEBE5rwyx5jDa9o9AdqA6x6CjvACh5+7c9vvcsSbL4OlOp\n0Ija\r\n=n5cf\r\n-----END PGP SIGNATURE-----\r\n" |
| 251 |
}, |
| 252 |
"maintainers": [ |
| 253 |
{ |
| 254 |
"name": "sindresorhus", |
| 255 |
"email": "[email protected]" |
| 256 |
} |
| 257 |
], |
| 258 |
"directories": {}, |
| 259 |
"_npmOperationalInternal": { |
| 260 |
"host": "s3://npm-registry-packages", |
| 261 |
"tmp": "tmp/pkg-dir_3.0.0_1529322182903_0.9901723746601805" |
| 262 |
}, |
| 263 |
"_hasShrinkwrap": false |
| 264 |
}, |
| 265 |
"4.0.0": { |
| 266 |
"name": "pkg-dir", |
| 267 |
"version": "4.0.0", |
| 268 |
"description": "Find the root directory of a Node.js project or npm package", |
| 269 |
"license": "MIT", |
| 270 |
"repository": { |
| 271 |
"type": "git", |
| 272 |
"url": "git+https://github.com/sindresorhus/pkg-dir.git" |
| 273 |
}, |
| 274 |
"author": { |
| 275 |
"name": "Sindre Sorhus", |
| 276 |
"email": "[email protected]", |
| 277 |
"url": "sindresorhus.com" |
| 278 |
}, |
| 279 |
"engines": { |
| 280 |
"node": ">=8" |
| 281 |
}, |
| 282 |
"scripts": { |
| 283 |
"test": "xo && ava && tsd-check" |
| 284 |
}, |
| 285 |
"keywords": [ |
| 286 |
"package", |
| 287 |
"json", |
| 288 |
"root", |
| 289 |
"npm", |
| 290 |
"entry", |
| 291 |
"find", |
| 292 |
"up", |
| 293 |
"find-up", |
| 294 |
"findup", |
| 295 |
"look-up", |
| 296 |
"look", |
| 297 |
"file", |
| 298 |
"search", |
| 299 |
"match", |
| 300 |
"resolve", |
| 301 |
"parent", |
| 302 |
"parents", |
| 303 |
"folder", |
| 304 |
"directory", |
| 305 |
"dir", |
| 306 |
"walk", |
| 307 |
"walking", |
| 308 |
"path" |
| 309 |
], |
| 310 |
"dependencies": { |
| 311 |
"find-up": "^3.0.0" |
| 312 |
}, |
| 313 |
"devDependencies": { |
| 314 |
"ava": "^1.3.1", |
| 315 |
"tsd-check": "^0.3.0", |
| 316 |
"xo": "^0.24.0" |
| 317 |
}, |
| 318 |
"gitHead": "2a72e4ece93b2443a2827aeae87f4995bb9e2977", |
| 319 |
"bugs": { |
| 320 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 321 |
}, |
| 322 |
"homepage": "https://github.com/sindresorhus/pkg-dir#readme", |
| 323 |
"_id": "[email protected]", |
| 324 |
"_nodeVersion": "8.15.0", |
| 325 |
"_npmVersion": "6.9.0", |
| 326 |
"_npmUser": { |
| 327 |
"name": "sindresorhus", |
| 328 |
"email": "[email protected]" |
| 329 |
}, |
| 330 |
"dist": { |
| 331 |
"integrity": "sha512-1S63UXE5ujsNUTFEgI001K06PkKqNceY07OBdRw24KYs3xvtoG3bkkunIG1p3glRKUjrZYc43opq2Y70R+/Rbw==", |
| 332 |
"shasum": "1c505f82509ec0165a1fa530892585852e85ce9e", |
| 333 |
"tarball": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.0.0.tgz", |
| 334 |
"fileCount": 5, |
| 335 |
"unpackedSize": 4221, |
| 336 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch3OVCRA9TVsSAnZWagAAsxAQAKMZbTJT5CuC6U7cdm85\nDTvd/ENSieYsuj8zPTd9O0wRh7Bc9AC18VquPVftu+R1plOHPUQJije07mTt\n3mURCLomZqt4K4kKg6vu9UFZEhDhPidY641pfQsOr5U8grsGWS3MMnICB3gu\nlI6IRKalgwUKvJ4xPcKU6WXYHg6+wnyrjA9qOLiv6jMqwY/n6sMy81E5rUkh\nuO4IKOEB+qPGX7QYsFYsvMGEzUYb2vNDTVduKerVOcgy6lb8T807vHF6lla4\nTb/gFxqugphgXqHe2dFgrDt0eVVQTi4xwVAiLD3JuS79oaP0ewrxGy+tPn/I\nkyPxhN80/eFryWQfQXRpSKUC+WqQI4apriu+wXLxk5lNsYoLSTD2sEJiqCs4\nadCHgzfWAIy8ORsWPh3mjMJuP7GlWbPo1JChQCmmGUgfjpGy0TZSHgmjOI5W\ncarEnYjTaBl/PccfT2pZj32FrzZkJWWG/ph2YqH63aNVzHaJGq7HRfb5Bdi9\n/RwaAAvq03KYOKkEH8ejEU0p93XhgAjtGMihOIW/Xu9GGb0yZu+HO5FHPA8b\nM6rUazvbGJaPF2BekvNM11IPOap6QoPP/4ArNG0sGZFnr2rtBO4taa7dvT85\n9QME8cqbL71DvLatbsKZcosOiw+ltU4s4J81c3hZV1+uQozXCDBoyNTDrPDL\nmgHa\r\n=029U\r\n-----END PGP SIGNATURE-----\r\n" |
| 337 |
}, |
| 338 |
"maintainers": [ |
| 339 |
{ |
| 340 |
"name": "sindresorhus", |
| 341 |
"email": "[email protected]" |
| 342 |
} |
| 343 |
], |
| 344 |
"directories": {}, |
| 345 |
"_npmOperationalInternal": { |
| 346 |
"host": "s3://npm-registry-packages", |
| 347 |
"tmp": "tmp/pkg-dir_4.0.0_1552380821273_0.15593856451506727" |
| 348 |
}, |
| 349 |
"_hasShrinkwrap": false |
| 350 |
}, |
| 351 |
"4.1.0": { |
| 352 |
"name": "pkg-dir", |
| 353 |
"version": "4.1.0", |
| 354 |
"description": "Find the root directory of a Node.js project or npm package", |
| 355 |
"license": "MIT", |
| 356 |
"repository": { |
| 357 |
"type": "git", |
| 358 |
"url": "git+https://github.com/sindresorhus/pkg-dir.git" |
| 359 |
}, |
| 360 |
"author": { |
| 361 |
"name": "Sindre Sorhus", |
| 362 |
"email": "[email protected]", |
| 363 |
"url": "sindresorhus.com" |
| 364 |
}, |
| 365 |
"engines": { |
| 366 |
"node": ">=8" |
| 367 |
}, |
| 368 |
"scripts": { |
| 369 |
"test": "xo && ava && tsd" |
| 370 |
}, |
| 371 |
"keywords": [ |
| 372 |
"package", |
| 373 |
"json", |
| 374 |
"root", |
| 375 |
"npm", |
| 376 |
"entry", |
| 377 |
"find", |
| 378 |
"up", |
| 379 |
"find-up", |
| 380 |
"findup", |
| 381 |
"look-up", |
| 382 |
"look", |
| 383 |
"file", |
| 384 |
"search", |
| 385 |
"match", |
| 386 |
"resolve", |
| 387 |
"parent", |
| 388 |
"parents", |
| 389 |
"folder", |
| 390 |
"directory", |
| 391 |
"dir", |
| 392 |
"walk", |
| 393 |
"walking", |
| 394 |
"path" |
| 395 |
], |
| 396 |
"dependencies": { |
| 397 |
"find-up": "^3.0.0" |
| 398 |
}, |
| 399 |
"devDependencies": { |
| 400 |
"ava": "^1.4.1", |
| 401 |
"tsd": "^0.7.2", |
| 402 |
"xo": "^0.24.0" |
| 403 |
}, |
| 404 |
"gitHead": "abe3546fab603463012234bfed768243a074e8d1", |
| 405 |
"bugs": { |
| 406 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 407 |
}, |
| 408 |
"homepage": "https://github.com/sindresorhus/pkg-dir#readme", |
| 409 |
"_id": "[email protected]", |
| 410 |
"_nodeVersion": "8.15.0", |
| 411 |
"_npmVersion": "6.9.0", |
| 412 |
"_npmUser": { |
| 413 |
"name": "sindresorhus", |
| 414 |
"email": "[email protected]" |
| 415 |
}, |
| 416 |
"dist": { |
| 417 |
"integrity": "sha512-55k9QN4saZ8q518lE6EFgYiu95u3BWkSajCifhdQjvLvmr8IpnRbhI+UGpWJQfa0KzDguHeeWT1ccO1PmkOi3A==", |
| 418 |
"shasum": "aaeb91c0d3b9c4f74a44ad849f4de34781ae01de", |
| 419 |
"tarball": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.1.0.tgz", |
| 420 |
"fileCount": 5, |
| 421 |
"unpackedSize": 4751, |
| 422 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpvbXCRA9TVsSAnZWagAA1pAQAI721cM6BaZ4wyuOJ0gE\ngKAPud/NCrGmyivJrcrP4YfMLse1DnIfN67iUv2E/GZ+ujN7X4HJnrrzGWBR\nqlYXkBnZT1RlXsuTPTs4R6hu+chdhZzqMbexlvE4nutQ4wjbqoLE40YaWRzD\nVF7/81B6ZMP3tbcEUQIWmFc+KrtJFZfyNq+A4OYeyVMW2J70r3HCOb1QMJSz\npuBR9ZzLr6cEKe0Mz2IqDeaGHi+CbU7XUZeeidP/iqEarti6KoLtW5l7UfUB\njBsu4a2Y2XqMxQ+JjgtuqhizBtezfbfmfL+adamiPt61rLgj5F1Jml54/bMr\nTpDcxB+cFF+IfGx4+vXw1J8ZqsMi56d2gA8TvwVwa6JTeYJs230t/C3vEI8Z\npd2f0TwDQEAhajQY0Z2LeTe1DQL80oTSlrWUq+6Wkr9XPkR0lL5adFXYZ8qB\ntoUCU5k5H98+tTsTvuXmHO6fZ8JS1nN1nNPdr0pWByaiRiRcyuQoY0nFcMKp\nWdGVyGDtPj9KCzC37QFzpmT4CaAcU8ugQTuKpzMNgNKm+cxzjfswy6UMpwmG\nx6tRXdqaVaW6WtZcIWgTWgequF9cXGrSWtm0TrH4hmHQpr6GgRunqRZ1nQra\niav/vrzAo1zfN4SaBrjClyYbGp5zIY6kjBXrMnSFT8k7L9ZyIoQrmThYXEpY\nZ2C7\r\n=Twve\r\n-----END PGP SIGNATURE-----\r\n" |
| 423 |
}, |
| 424 |
"maintainers": [ |
| 425 |
{ |
| 426 |
"name": "sindresorhus", |
| 427 |
"email": "[email protected]" |
| 428 |
} |
| 429 |
], |
| 430 |
"directories": {}, |
| 431 |
"_npmOperationalInternal": { |
| 432 |
"host": "s3://npm-registry-packages", |
| 433 |
"tmp": "tmp/pkg-dir_4.1.0_1554446039149_0.43123501399168696" |
| 434 |
}, |
| 435 |
"_hasShrinkwrap": false |
| 436 |
}, |
| 437 |
"4.2.0": { |
| 438 |
"name": "pkg-dir", |
| 439 |
"version": "4.2.0", |
| 440 |
"description": "Find the root directory of a Node.js project or npm package", |
| 441 |
"license": "MIT", |
| 442 |
"repository": { |
| 443 |
"type": "git", |
| 444 |
"url": "git+https://github.com/sindresorhus/pkg-dir.git" |
| 445 |
}, |
| 446 |
"author": { |
| 447 |
"name": "Sindre Sorhus", |
| 448 |
"email": "[email protected]", |
| 449 |
"url": "sindresorhus.com" |
| 450 |
}, |
| 451 |
"engines": { |
| 452 |
"node": ">=8" |
| 453 |
}, |
| 454 |
"scripts": { |
| 455 |
"test": "xo && ava && tsd" |
| 456 |
}, |
| 457 |
"keywords": [ |
| 458 |
"package", |
| 459 |
"json", |
| 460 |
"root", |
| 461 |
"npm", |
| 462 |
"entry", |
| 463 |
"find", |
| 464 |
"up", |
| 465 |
"find-up", |
| 466 |
"findup", |
| 467 |
"look-up", |
| 468 |
"look", |
| 469 |
"file", |
| 470 |
"search", |
| 471 |
"match", |
| 472 |
"resolve", |
| 473 |
"parent", |
| 474 |
"parents", |
| 475 |
"folder", |
| 476 |
"directory", |
| 477 |
"dir", |
| 478 |
"walk", |
| 479 |
"walking", |
| 480 |
"path" |
| 481 |
], |
| 482 |
"dependencies": { |
| 483 |
"find-up": "^4.0.0" |
| 484 |
}, |
| 485 |
"devDependencies": { |
| 486 |
"ava": "^1.4.1", |
| 487 |
"tempy": "^0.3.0", |
| 488 |
"tsd": "^0.7.2", |
| 489 |
"xo": "^0.24.0" |
| 490 |
}, |
| 491 |
"gitHead": "e25e5342c5ec425bb4a2c93787a880c29cbf0a49", |
| 492 |
"bugs": { |
| 493 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 494 |
}, |
| 495 |
"homepage": "https://github.com/sindresorhus/pkg-dir#readme", |
| 496 |
"_id": "[email protected]", |
| 497 |
"_nodeVersion": "8.16.0", |
| 498 |
"_npmVersion": "6.9.0", |
| 499 |
"_npmUser": { |
| 500 |
"name": "sindresorhus", |
| 501 |
"email": "[email protected]" |
| 502 |
}, |
| 503 |
"dist": { |
| 504 |
"integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", |
| 505 |
"shasum": "f099133df7ede422e81d1d8448270eeb3e4261f3", |
| 506 |
"tarball": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", |
| 507 |
"fileCount": 5, |
| 508 |
"unpackedSize": 4750, |
| 509 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc48Z0CRA9TVsSAnZWagAA9d4QAIA8ki5bJw6PfCFYHATl\n1c7I/rJSZzR+iRY3lQjGcJJ8g5A1aQFcleviJi5dd+wghHbgvtD0ma9OhtTu\n9+bc3IH/46lUhHG5bjl4vWJTfMB1/p3WLe7CHvDJROhbcBp70E3AWE+iGrOR\ng7FpasTIPpbsveGma66ioF2K3aeybee0bklbDsWsuhS38taDCVOPM854yxk5\n2anz7zOaQALYuzfxvMmB7NFYIgPHO5WP8fDqcg1dpVeco97Un9c2E4OnWZfT\nLmpQC8NFvPFYbrypBa6l/jZMvO6+R1YpJd7x6kp02KUPYsd3KPWtvcrjiSE2\nibK6kTXq6ScSFW+uxhBspzK4kFewLc41h9of4bRBFh/dlb4AYFq8voMhcPhS\nQAewS3YpA8V6bwZZQJT+QSchRq4EkLZLGQCtCnXv27JgBBg2TZ3I/ay/rySE\n3Iw10ex72h79mJDyHohPw12l+mBxtNbo6pFx5XdBhjKl/32IzVXu6RWW2lsi\nYG0Ijt9WVD9r4z8FBnLP4zXtcht36YKNwHxj6WSZ9s6VVYy2yLlK+XHCw1Jw\nC/td4HlG/4oMem2GhMvwkcnvBzYKTrLlpqbK+fU2KVlka2PMemcoR51jJ36N\nMBZF2L6L+riT9n5hOtFGGSZao+N062mdCmR0Us3UINDvznq1kxx8D3U5XT8b\nSsUm\r\n=s+NZ\r\n-----END PGP SIGNATURE-----\r\n" |
| 510 |
}, |
| 511 |
"maintainers": [ |
| 512 |
{ |
| 513 |
"name": "sindresorhus", |
| 514 |
"email": "[email protected]" |
| 515 |
} |
| 516 |
], |
| 517 |
"directories": {}, |
| 518 |
"_npmOperationalInternal": { |
| 519 |
"host": "s3://npm-registry-packages", |
| 520 |
"tmp": "tmp/pkg-dir_4.2.0_1558431348399_0.7942128019820929" |
| 521 |
}, |
| 522 |
"_hasShrinkwrap": false |
| 523 |
} |
| 524 |
}, |
| 525 |
"readme": "# pkg-dir [](https://travis-ci.org/sindresorhus/pkg-dir)\n\n> Find the root directory of a Node.js project or npm package\n\n\n## Install\n\n```\n$ npm install pkg-dir\n```\n\n\n## Usage\n\n```\n/\n└── Users\n └── sindresorhus\n └── foo\n ├── package.json\n └── bar\n ├── baz\n └── example.js\n```\n\n```js\n// example.js\nconst pkgDir = require('pkg-dir');\n\n(async () => {\n\tconst rootDir = await pkgDir(__dirname);\n\n\tconsole.log(rootDir);\n\t//=> '/Users/sindresorhus/foo'\n})();\n```\n\n\n## API\n\n### pkgDir([cwd])\n\nReturns a `Promise` for either the project root path or `undefined` if it couldn't be found.\n\n### pkgDir.sync([cwd])\n\nReturns the project root path or `undefined` if it couldn't be found.\n\n#### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nDirectory to start from.\n\n\n## Related\n\n- [pkg-dir-cli](https://github.com/sindresorhus/pkg-dir-cli) - CLI for this module\n- [pkg-up](https://github.com/sindresorhus/pkg-up) - Find the closest package.json file\n- [find-up](https://github.com/sindresorhus/find-up) - Find a file by walking up parent directories\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", |
| 526 |
"maintainers": [ |
| 527 |
{ |
| 528 |
"name": "sindresorhus", |
| 529 |
"email": "[email protected]" |
| 530 |
} |
| 531 |
], |
| 532 |
"time": { |
| 533 |
"modified": "2019-05-21T09:35:52.580Z", |
| 534 |
"created": "2015-09-01T07:59:42.497Z", |
| 535 |
"1.0.0": "2015-09-01T07:59:42.497Z", |
| 536 |
"2.0.0": "2017-05-04T15:39:08.692Z", |
| 537 |
"3.0.0": "2018-06-18T11:43:02.957Z", |
| 538 |
"4.0.0": "2019-03-12T08:53:41.396Z", |
| 539 |
"4.1.0": "2019-04-05T06:33:59.286Z", |
| 540 |
"4.2.0": "2019-05-21T09:35:48.505Z" |
| 541 |
}, |
| 542 |
"homepage": "https://github.com/sindresorhus/pkg-dir#readme", |
| 543 |
"keywords": [ |
| 544 |
"package", |
| 545 |
"json", |
| 546 |
"root", |
| 547 |
"npm", |
| 548 |
"entry", |
| 549 |
"find", |
| 550 |
"up", |
| 551 |
"find-up", |
| 552 |
"findup", |
| 553 |
"look-up", |
| 554 |
"look", |
| 555 |
"file", |
| 556 |
"search", |
| 557 |
"match", |
| 558 |
"resolve", |
| 559 |
"parent", |
| 560 |
"parents", |
| 561 |
"folder", |
| 562 |
"directory", |
| 563 |
"dir", |
| 564 |
"walk", |
| 565 |
"walking", |
| 566 |
"path" |
| 567 |
], |
| 568 |
"repository": { |
| 569 |
"type": "git", |
| 570 |
"url": "git+https://github.com/sindresorhus/pkg-dir.git" |
| 571 |
}, |
| 572 |
"author": { |
| 573 |
"name": "Sindre Sorhus", |
| 574 |
"email": "[email protected]", |
| 575 |
"url": "sindresorhus.com" |
| 576 |
}, |
| 577 |
"bugs": { |
| 578 |
"url": "https://github.com/sindresorhus/pkg-dir/issues" |
| 579 |
}, |
| 580 |
"license": "MIT", |
| 581 |
"readmeFilename": "readme.md", |
| 582 |
"users": { |
| 583 |
"recursion_excursion": true, |
| 584 |
"ahmed-dinar": true, |
| 585 |
"rocket0191": true, |
| 586 |
"hugojosefson": true, |
| 587 |
"alexreg90": true, |
| 588 |
"alexreg": true, |
| 589 |
"drewigg": true, |
| 590 |
"dwqs": true |
| 591 |
} |
| 592 |
} |