| 1 |
{ |
| 2 |
"_id": "is-dotfile", |
| 3 |
"_rev": "13-caaedaee1a0ee31311feedeaa08ceccb", |
| 4 |
"name": "is-dotfile", |
| 5 |
"description": "Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "is-dotfile", |
| 12 |
"description": "Return true if a file path is (or has) a dotfile.", |
| 13 |
"version": "0.1.0", |
| 14 |
"homepage": "https://github.com/regexps/is-dotfile", |
| 15 |
"author": { |
| 16 |
"name": "Jon Schlinkert", |
| 17 |
"url": "https://github.com/jonschlinkert" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git://github.com/regexps/is-dotfile.git" |
| 22 |
}, |
| 23 |
"bugs": { |
| 24 |
"url": "https://github.com/regexps/is-dotfile/issues" |
| 25 |
}, |
| 26 |
"license": { |
| 27 |
"type": "MIT", |
| 28 |
"url": "https://github.com/regexps/is-dotfile/blob/master/LICENSE-MIT" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"main": "index.js", |
| 34 |
"engines": { |
| 35 |
"node": ">=0.10.0" |
| 36 |
}, |
| 37 |
"scripts": { |
| 38 |
"test": "mocha -R spec" |
| 39 |
}, |
| 40 |
"devDependencies": { |
| 41 |
"mocha": "*", |
| 42 |
"should": "*" |
| 43 |
}, |
| 44 |
"keywords": [ |
| 45 |
"detect", |
| 46 |
"dotfile", |
| 47 |
"expression", |
| 48 |
"regular expression", |
| 49 |
"find", |
| 50 |
"match", |
| 51 |
"regex", |
| 52 |
"regexp", |
| 53 |
"regular" |
| 54 |
], |
| 55 |
"_id": "[email protected]", |
| 56 |
"_shasum": "79dad828bd8e6e940165c2ecfbf596f01998b8c7", |
| 57 |
"_from": ".", |
| 58 |
"_npmVersion": "1.4.28", |
| 59 |
"_npmUser": { |
| 60 |
"name": "jonschlinkert", |
| 61 |
"email": "[email protected]" |
| 62 |
}, |
| 63 |
"maintainers": [ |
| 64 |
{ |
| 65 |
"name": "jonschlinkert", |
| 66 |
"email": "[email protected]" |
| 67 |
} |
| 68 |
], |
| 69 |
"dist": { |
| 70 |
"shasum": "79dad828bd8e6e940165c2ecfbf596f01998b8c7", |
| 71 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-0.1.0.tgz" |
| 72 |
}, |
| 73 |
"directories": {} |
| 74 |
}, |
| 75 |
"0.1.1": { |
| 76 |
"name": "is-dotfile", |
| 77 |
"description": "Return true if a file path is (or has) a dotfile.", |
| 78 |
"version": "0.1.1", |
| 79 |
"homepage": "https://github.com/regexps/is-dotfile", |
| 80 |
"author": { |
| 81 |
"name": "Jon Schlinkert", |
| 82 |
"url": "https://github.com/jonschlinkert" |
| 83 |
}, |
| 84 |
"repository": { |
| 85 |
"type": "git", |
| 86 |
"url": "git://github.com/regexps/is-dotfile.git" |
| 87 |
}, |
| 88 |
"bugs": { |
| 89 |
"url": "https://github.com/regexps/is-dotfile/issues" |
| 90 |
}, |
| 91 |
"license": { |
| 92 |
"type": "MIT", |
| 93 |
"url": "https://github.com/regexps/is-dotfile/blob/master/LICENSE-MIT" |
| 94 |
}, |
| 95 |
"files": [ |
| 96 |
"index.js" |
| 97 |
], |
| 98 |
"main": "index.js", |
| 99 |
"engines": { |
| 100 |
"node": ">=0.10.0" |
| 101 |
}, |
| 102 |
"scripts": { |
| 103 |
"test": "mocha -R spec" |
| 104 |
}, |
| 105 |
"devDependencies": { |
| 106 |
"mocha": "*", |
| 107 |
"should": "*" |
| 108 |
}, |
| 109 |
"keywords": [ |
| 110 |
"detect", |
| 111 |
"dotfile", |
| 112 |
"expression", |
| 113 |
"regular expression", |
| 114 |
"find", |
| 115 |
"match", |
| 116 |
"regex", |
| 117 |
"regexp", |
| 118 |
"regular" |
| 119 |
], |
| 120 |
"dependencies": { |
| 121 |
"dotfile-regex": "^0.1.2" |
| 122 |
}, |
| 123 |
"gitHead": "e2145fa7630061a55a52b7d283b7aee8150d1038", |
| 124 |
"_id": "[email protected]", |
| 125 |
"_shasum": "c76c95692ff99a057784ce0041e15714bf869486", |
| 126 |
"_from": ".", |
| 127 |
"_npmVersion": "1.4.28", |
| 128 |
"_npmUser": { |
| 129 |
"name": "jonschlinkert", |
| 130 |
"email": "[email protected]" |
| 131 |
}, |
| 132 |
"maintainers": [ |
| 133 |
{ |
| 134 |
"name": "jonschlinkert", |
| 135 |
"email": "[email protected]" |
| 136 |
} |
| 137 |
], |
| 138 |
"dist": { |
| 139 |
"shasum": "c76c95692ff99a057784ce0041e15714bf869486", |
| 140 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-0.1.1.tgz" |
| 141 |
}, |
| 142 |
"directories": {} |
| 143 |
}, |
| 144 |
"1.0.0": { |
| 145 |
"name": "is-dotfile", |
| 146 |
"description": "Return true if a file path is (or has) a dotfile.", |
| 147 |
"version": "1.0.0", |
| 148 |
"homepage": "https://github.com/regexps/is-dotfile", |
| 149 |
"author": { |
| 150 |
"name": "Jon Schlinkert", |
| 151 |
"url": "https://github.com/jonschlinkert" |
| 152 |
}, |
| 153 |
"repository": { |
| 154 |
"type": "git", |
| 155 |
"url": "git://github.com/regexps/is-dotfile.git" |
| 156 |
}, |
| 157 |
"bugs": { |
| 158 |
"url": "https://github.com/regexps/is-dotfile/issues" |
| 159 |
}, |
| 160 |
"license": { |
| 161 |
"type": "MIT", |
| 162 |
"url": "https://github.com/regexps/is-dotfile/blob/master/LICENSE-MIT" |
| 163 |
}, |
| 164 |
"files": [ |
| 165 |
"index.js" |
| 166 |
], |
| 167 |
"main": "index.js", |
| 168 |
"engines": { |
| 169 |
"node": ">=0.10.0" |
| 170 |
}, |
| 171 |
"scripts": { |
| 172 |
"test": "mocha -R spec" |
| 173 |
}, |
| 174 |
"devDependencies": { |
| 175 |
"benchmarked": "^0.1.3", |
| 176 |
"dotfile-regex": "^0.1.2", |
| 177 |
"mocha": "*", |
| 178 |
"should": "*" |
| 179 |
}, |
| 180 |
"keywords": [ |
| 181 |
"detect", |
| 182 |
"dotfile", |
| 183 |
"expression", |
| 184 |
"regular expression", |
| 185 |
"find", |
| 186 |
"match", |
| 187 |
"regex", |
| 188 |
"regexp", |
| 189 |
"regular" |
| 190 |
], |
| 191 |
"gitHead": "f5d2165befc5f311dee16fa985f304a7bc00e470", |
| 192 |
"_id": "[email protected]", |
| 193 |
"_shasum": "cfb6c7d7ebcb99e97ea8a353230dd4eea3e72825", |
| 194 |
"_from": ".", |
| 195 |
"_npmVersion": "1.4.28", |
| 196 |
"_npmUser": { |
| 197 |
"name": "jonschlinkert", |
| 198 |
"email": "[email protected]" |
| 199 |
}, |
| 200 |
"maintainers": [ |
| 201 |
{ |
| 202 |
"name": "jonschlinkert", |
| 203 |
"email": "[email protected]" |
| 204 |
} |
| 205 |
], |
| 206 |
"dist": { |
| 207 |
"shasum": "cfb6c7d7ebcb99e97ea8a353230dd4eea3e72825", |
| 208 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.0.tgz" |
| 209 |
}, |
| 210 |
"directories": {} |
| 211 |
}, |
| 212 |
"1.0.1": { |
| 213 |
"name": "is-dotfile", |
| 214 |
"description": "Return true if a file path is (or has) a dotfile.", |
| 215 |
"version": "1.0.1", |
| 216 |
"homepage": "https://github.com/jonschlinkert/is-dotfile", |
| 217 |
"author": { |
| 218 |
"name": "Jon Schlinkert", |
| 219 |
"url": "https://github.com/jonschlinkert" |
| 220 |
}, |
| 221 |
"repository": { |
| 222 |
"type": "git", |
| 223 |
"url": "git://github.com/jonschlinkert/is-dotfile.git" |
| 224 |
}, |
| 225 |
"bugs": { |
| 226 |
"url": "https://github.com/jonschlinkert/is-dotfile/issues" |
| 227 |
}, |
| 228 |
"license": "MIT", |
| 229 |
"files": [ |
| 230 |
"index.js" |
| 231 |
], |
| 232 |
"main": "index.js", |
| 233 |
"engines": { |
| 234 |
"node": ">=0.10.0" |
| 235 |
}, |
| 236 |
"scripts": { |
| 237 |
"test": "mocha" |
| 238 |
}, |
| 239 |
"devDependencies": { |
| 240 |
"benchmarked": "^0.1.3", |
| 241 |
"dotfile-regex": "^0.1.2", |
| 242 |
"mocha": "*" |
| 243 |
}, |
| 244 |
"keywords": [ |
| 245 |
"detect", |
| 246 |
"dotfile", |
| 247 |
"expression", |
| 248 |
"regular expression", |
| 249 |
"find", |
| 250 |
"match", |
| 251 |
"regex", |
| 252 |
"regexp", |
| 253 |
"regular" |
| 254 |
], |
| 255 |
"gitHead": "73de4314c679e80783335a95d6c37139c1fd40c0", |
| 256 |
"_id": "[email protected]", |
| 257 |
"_shasum": "38beee44a79a835242c6cce328a88b7eddac5d5f", |
| 258 |
"_from": ".", |
| 259 |
"_npmVersion": "2.5.1", |
| 260 |
"_nodeVersion": "0.12.0", |
| 261 |
"_npmUser": { |
| 262 |
"name": "jonschlinkert", |
| 263 |
"email": "[email protected]" |
| 264 |
}, |
| 265 |
"maintainers": [ |
| 266 |
{ |
| 267 |
"name": "jonschlinkert", |
| 268 |
"email": "[email protected]" |
| 269 |
} |
| 270 |
], |
| 271 |
"dist": { |
| 272 |
"shasum": "38beee44a79a835242c6cce328a88b7eddac5d5f", |
| 273 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.1.tgz" |
| 274 |
}, |
| 275 |
"directories": {} |
| 276 |
}, |
| 277 |
"1.0.2": { |
| 278 |
"name": "is-dotfile", |
| 279 |
"description": "Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.", |
| 280 |
"version": "1.0.2", |
| 281 |
"homepage": "https://github.com/jonschlinkert/is-dotfile", |
| 282 |
"author": { |
| 283 |
"name": "Jon Schlinkert", |
| 284 |
"url": "https://github.com/jonschlinkert" |
| 285 |
}, |
| 286 |
"repository": { |
| 287 |
"type": "git", |
| 288 |
"url": "git+https://github.com/jonschlinkert/is-dotfile.git" |
| 289 |
}, |
| 290 |
"bugs": { |
| 291 |
"url": "https://github.com/jonschlinkert/is-dotfile/issues" |
| 292 |
}, |
| 293 |
"license": "MIT", |
| 294 |
"files": [ |
| 295 |
"index.js" |
| 296 |
], |
| 297 |
"main": "index.js", |
| 298 |
"engines": { |
| 299 |
"node": ">=0.10.0" |
| 300 |
}, |
| 301 |
"scripts": { |
| 302 |
"test": "mocha" |
| 303 |
}, |
| 304 |
"devDependencies": { |
| 305 |
"benchmarked": "^0.1.3", |
| 306 |
"dotfile-regex": "^0.1.2", |
| 307 |
"mocha": "*" |
| 308 |
}, |
| 309 |
"keywords": [ |
| 310 |
"detect", |
| 311 |
"dot", |
| 312 |
"dotfile", |
| 313 |
"expression", |
| 314 |
"file", |
| 315 |
"filepath", |
| 316 |
"find", |
| 317 |
"fs", |
| 318 |
"is", |
| 319 |
"match", |
| 320 |
"path", |
| 321 |
"regex", |
| 322 |
"regexp", |
| 323 |
"regular" |
| 324 |
], |
| 325 |
"verb": { |
| 326 |
"related": { |
| 327 |
"list": [ |
| 328 |
"has-glob", |
| 329 |
"is-glob", |
| 330 |
"dotfile-regex", |
| 331 |
"is-dotdir" |
| 332 |
] |
| 333 |
} |
| 334 |
}, |
| 335 |
"gitHead": "df258600b0afa6403a2a840f2ec486c9d350492f", |
| 336 |
"_id": "[email protected]", |
| 337 |
"_shasum": "2c132383f39199f8edc268ca01b9b007d205cc4d", |
| 338 |
"_from": ".", |
| 339 |
"_npmVersion": "2.14.7", |
| 340 |
"_nodeVersion": "4.2.1", |
| 341 |
"_npmUser": { |
| 342 |
"name": "jonschlinkert", |
| 343 |
"email": "[email protected]" |
| 344 |
}, |
| 345 |
"maintainers": [ |
| 346 |
{ |
| 347 |
"name": "jonschlinkert", |
| 348 |
"email": "[email protected]" |
| 349 |
} |
| 350 |
], |
| 351 |
"dist": { |
| 352 |
"shasum": "2c132383f39199f8edc268ca01b9b007d205cc4d", |
| 353 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz" |
| 354 |
}, |
| 355 |
"directories": {} |
| 356 |
}, |
| 357 |
"1.0.3": { |
| 358 |
"name": "is-dotfile", |
| 359 |
"description": "Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.", |
| 360 |
"version": "1.0.3", |
| 361 |
"homepage": "https://github.com/jonschlinkert/is-dotfile", |
| 362 |
"author": { |
| 363 |
"name": "Jon Schlinkert", |
| 364 |
"url": "https://github.com/jonschlinkert" |
| 365 |
}, |
| 366 |
"contributors": [ |
| 367 |
{ |
| 368 |
"name": "Evan Lowry", |
| 369 |
"url": "http://exitiumonline.com" |
| 370 |
}, |
| 371 |
{ |
| 372 |
"name": "Jon Schlinkert", |
| 373 |
"url": "http://twitter.com/jonschlinkert" |
| 374 |
} |
| 375 |
], |
| 376 |
"repository": { |
| 377 |
"type": "git", |
| 378 |
"url": "git+https://github.com/jonschlinkert/is-dotfile.git" |
| 379 |
}, |
| 380 |
"bugs": { |
| 381 |
"url": "https://github.com/jonschlinkert/is-dotfile/issues" |
| 382 |
}, |
| 383 |
"license": "MIT", |
| 384 |
"files": [ |
| 385 |
"index.js" |
| 386 |
], |
| 387 |
"main": "index.js", |
| 388 |
"engines": { |
| 389 |
"node": ">=0.10.0" |
| 390 |
}, |
| 391 |
"scripts": { |
| 392 |
"test": "mocha" |
| 393 |
}, |
| 394 |
"devDependencies": { |
| 395 |
"benchmarked": "^0.1.3", |
| 396 |
"dotfile-regex": "^0.1.2", |
| 397 |
"gulp-format-md": "^0.1.12", |
| 398 |
"mocha": "*" |
| 399 |
}, |
| 400 |
"keywords": [ |
| 401 |
"detect", |
| 402 |
"dot", |
| 403 |
"dotfile", |
| 404 |
"expression", |
| 405 |
"file", |
| 406 |
"filepath", |
| 407 |
"find", |
| 408 |
"fs", |
| 409 |
"is", |
| 410 |
"match", |
| 411 |
"path", |
| 412 |
"regex", |
| 413 |
"regexp", |
| 414 |
"regular" |
| 415 |
], |
| 416 |
"verb": { |
| 417 |
"related": { |
| 418 |
"list": [ |
| 419 |
"dotdir-regex", |
| 420 |
"dotfile-regex", |
| 421 |
"is-dotdir", |
| 422 |
"is-glob" |
| 423 |
] |
| 424 |
}, |
| 425 |
"toc": false, |
| 426 |
"layout": "default", |
| 427 |
"tasks": [ |
| 428 |
"readme" |
| 429 |
], |
| 430 |
"plugins": [ |
| 431 |
"gulp-format-md" |
| 432 |
], |
| 433 |
"lint": { |
| 434 |
"reflinks": true |
| 435 |
} |
| 436 |
}, |
| 437 |
"gitHead": "1548d0045c182dfb0ac7b747e2d484dcd382b09d", |
| 438 |
"_id": "[email protected]", |
| 439 |
"_shasum": "a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1", |
| 440 |
"_from": ".", |
| 441 |
"_npmVersion": "4.6.1", |
| 442 |
"_nodeVersion": "7.7.3", |
| 443 |
"_npmUser": { |
| 444 |
"name": "jonschlinkert", |
| 445 |
"email": "[email protected]" |
| 446 |
}, |
| 447 |
"maintainers": [ |
| 448 |
{ |
| 449 |
"name": "doowb", |
| 450 |
"email": "[email protected]" |
| 451 |
}, |
| 452 |
{ |
| 453 |
"name": "jonschlinkert", |
| 454 |
"email": "[email protected]" |
| 455 |
} |
| 456 |
], |
| 457 |
"dist": { |
| 458 |
"shasum": "a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1", |
| 459 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz" |
| 460 |
}, |
| 461 |
"_npmOperationalInternal": { |
| 462 |
"host": "s3://npm-registry-packages", |
| 463 |
"tmp": "tmp/is-dotfile-1.0.3.tgz_1496154299381_0.9273945165332407" |
| 464 |
}, |
| 465 |
"directories": {} |
| 466 |
}, |
| 467 |
"2.0.0": { |
| 468 |
"name": "is-dotfile", |
| 469 |
"description": "Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.", |
| 470 |
"version": "2.0.0", |
| 471 |
"homepage": "https://github.com/jonschlinkert/is-dotfile", |
| 472 |
"author": { |
| 473 |
"name": "Jon Schlinkert", |
| 474 |
"url": "https://github.com/jonschlinkert" |
| 475 |
}, |
| 476 |
"contributors": [ |
| 477 |
{ |
| 478 |
"name": "Evan Lowry", |
| 479 |
"url": "http://exitiumonline.com" |
| 480 |
}, |
| 481 |
{ |
| 482 |
"name": "Jon Schlinkert", |
| 483 |
"url": "http://twitter.com/jonschlinkert" |
| 484 |
} |
| 485 |
], |
| 486 |
"repository": { |
| 487 |
"type": "git", |
| 488 |
"url": "git+https://github.com/jonschlinkert/is-dotfile.git" |
| 489 |
}, |
| 490 |
"bugs": { |
| 491 |
"url": "https://github.com/jonschlinkert/is-dotfile/issues" |
| 492 |
}, |
| 493 |
"license": "MIT", |
| 494 |
"files": [ |
| 495 |
"index.js" |
| 496 |
], |
| 497 |
"main": "index.js", |
| 498 |
"engines": { |
| 499 |
"node": ">=0.10.0" |
| 500 |
}, |
| 501 |
"scripts": { |
| 502 |
"test": "mocha" |
| 503 |
}, |
| 504 |
"devDependencies": { |
| 505 |
"benchmarked": "^0.1.3", |
| 506 |
"dotfile-regex": "^0.1.2", |
| 507 |
"gulp-format-md": "^0.1.12", |
| 508 |
"mocha": "*" |
| 509 |
}, |
| 510 |
"keywords": [ |
| 511 |
"detect", |
| 512 |
"dot", |
| 513 |
"dotfile", |
| 514 |
"expression", |
| 515 |
"file", |
| 516 |
"filepath", |
| 517 |
"find", |
| 518 |
"fs", |
| 519 |
"is", |
| 520 |
"match", |
| 521 |
"path", |
| 522 |
"regex", |
| 523 |
"regexp", |
| 524 |
"regular" |
| 525 |
], |
| 526 |
"verb": { |
| 527 |
"related": { |
| 528 |
"list": [ |
| 529 |
"dotdir-regex", |
| 530 |
"dotfile-regex", |
| 531 |
"is-dotdir", |
| 532 |
"is-glob" |
| 533 |
] |
| 534 |
}, |
| 535 |
"toc": false, |
| 536 |
"layout": "default", |
| 537 |
"tasks": [ |
| 538 |
"readme" |
| 539 |
], |
| 540 |
"plugins": [ |
| 541 |
"gulp-format-md" |
| 542 |
], |
| 543 |
"lint": { |
| 544 |
"reflinks": true |
| 545 |
} |
| 546 |
}, |
| 547 |
"dependencies": { |
| 548 |
"dotfile-regex": "^0.1.2" |
| 549 |
}, |
| 550 |
"gitHead": "65e7b047ec2973d07c9c1fb3ddfd16bcdd725e56", |
| 551 |
"_id": "[email protected]", |
| 552 |
"_shasum": "4fc252eaaf52c8f3583a796bffaaecc95b2a4ca4", |
| 553 |
"_from": ".", |
| 554 |
"_npmVersion": "4.6.1", |
| 555 |
"_nodeVersion": "7.7.3", |
| 556 |
"_npmUser": { |
| 557 |
"name": "jonschlinkert", |
| 558 |
"email": "[email protected]" |
| 559 |
}, |
| 560 |
"maintainers": [ |
| 561 |
{ |
| 562 |
"name": "doowb", |
| 563 |
"email": "[email protected]" |
| 564 |
}, |
| 565 |
{ |
| 566 |
"name": "jonschlinkert", |
| 567 |
"email": "[email protected]" |
| 568 |
} |
| 569 |
], |
| 570 |
"dist": { |
| 571 |
"shasum": "4fc252eaaf52c8f3583a796bffaaecc95b2a4ca4", |
| 572 |
"tarball": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-2.0.0.tgz" |
| 573 |
}, |
| 574 |
"_npmOperationalInternal": { |
| 575 |
"host": "s3://npm-registry-packages", |
| 576 |
"tmp": "tmp/is-dotfile-2.0.0.tgz_1496155684715_0.49212755751796067" |
| 577 |
}, |
| 578 |
"directories": {} |
| 579 |
} |
| 580 |
}, |
| 581 |
"readme": "# is-dotfile [](https://www.npmjs.com/package/is-dotfile) [](https://npmjs.org/package/is-dotfile) [](https://npmjs.org/package/is-dotfile) [](https://travis-ci.org/jonschlinkert/is-dotfile)\n\n> Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-dotfile\n```\n\n## Usage\n\nTo be considered a dotfile, it must be the last filename in the path, like `.gitignore`. Otherwise it's a [dot directory](https://github.com/jonschlinkert/is-dotdir), like `.git/` and `.github/`.\n\n```js\nvar isDotfile = require('is-dotfile');\n```\n\n**false**\n\nAll of the following return `false`:\n\n```js\nisDotfile('a/b/c.js');\nisDotfile('/.git/foo');\nisDotfile('a/b/c/.git/foo');\n//=> false\n```\n\n**true**\n\nAll of the following return `true`:\n\n```js\nisDotfile('a/b/.gitignore');\nisDotfile('.gitignore');\nisDotfile('/.gitignore');\n//=> true\n```\n\n## About\n\n### Related projects\n\n* [dotdir-regex](https://www.npmjs.com/package/dotdir-regex): Regex for matching dot-directories, like `.git/` | [homepage](https://github.com/regexps/dotdir-regex \"Regex for matching dot-directories, like `.git/`\")\n* [dotfile-regex](https://www.npmjs.com/package/dotfile-regex): Regular expresson for matching dotfiles. | [homepage](https://github.com/regexps/dotfile-regex \"Regular expresson for matching dotfiles.\")\n* [is-dotdir](https://www.npmjs.com/package/is-dotdir): Returns true if a path is a dot-directory. | [homepage](https://github.com/jonschlinkert/is-dotdir \"Returns true if a path is a dot-directory.\")\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob \"Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 13 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [Lykathia](https://github.com/Lykathia) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 30, 2017._", |
| 582 |
"maintainers": [ |
| 583 |
{ |
| 584 |
"name": "doowb", |
| 585 |
"email": "[email protected]" |
| 586 |
}, |
| 587 |
{ |
| 588 |
"name": "jonschlinkert", |
| 589 |
"email": "[email protected]" |
| 590 |
} |
| 591 |
], |
| 592 |
"time": { |
| 593 |
"modified": "2017-05-30T14:48:05.615Z", |
| 594 |
"created": "2015-01-22T04:50:29.140Z", |
| 595 |
"0.1.0": "2015-01-22T04:50:29.140Z", |
| 596 |
"0.1.1": "2015-01-22T05:50:16.807Z", |
| 597 |
"1.0.0": "2015-01-24T02:37:59.187Z", |
| 598 |
"1.0.1": "2015-05-25T15:25:41.541Z", |
| 599 |
"1.0.2": "2015-10-20T04:57:51.926Z", |
| 600 |
"1.0.3": "2017-05-30T14:25:00.456Z", |
| 601 |
"2.0.0": "2017-05-30T14:48:05.615Z" |
| 602 |
}, |
| 603 |
"homepage": "https://github.com/jonschlinkert/is-dotfile", |
| 604 |
"keywords": [ |
| 605 |
"detect", |
| 606 |
"dot", |
| 607 |
"dotfile", |
| 608 |
"expression", |
| 609 |
"file", |
| 610 |
"filepath", |
| 611 |
"find", |
| 612 |
"fs", |
| 613 |
"is", |
| 614 |
"match", |
| 615 |
"path", |
| 616 |
"regex", |
| 617 |
"regexp", |
| 618 |
"regular" |
| 619 |
], |
| 620 |
"repository": { |
| 621 |
"type": "git", |
| 622 |
"url": "git+https://github.com/jonschlinkert/is-dotfile.git" |
| 623 |
}, |
| 624 |
"author": { |
| 625 |
"name": "Jon Schlinkert", |
| 626 |
"url": "https://github.com/jonschlinkert" |
| 627 |
}, |
| 628 |
"bugs": { |
| 629 |
"url": "https://github.com/jonschlinkert/is-dotfile/issues" |
| 630 |
}, |
| 631 |
"license": "MIT", |
| 632 |
"readmeFilename": "README.md", |
| 633 |
"users": { |
| 634 |
"arteffeckt": true, |
| 635 |
"rocket0191": true |
| 636 |
}, |
| 637 |
"contributors": [ |
| 638 |
{ |
| 639 |
"name": "Evan Lowry", |
| 640 |
"url": "http://exitiumonline.com" |
| 641 |
}, |
| 642 |
{ |
| 643 |
"name": "Jon Schlinkert", |
| 644 |
"url": "http://twitter.com/jonschlinkert" |
| 645 |
} |
| 646 |
], |
| 647 |
"_attachments": {} |
| 648 |
} |