{"_id":"path-ends-with","_rev":"17-902516f2d0958ff59469c32cd1cd7da1","name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"path-ends-with","description":"Does a file path end with the given string?","version":"0.1.0","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/path-ends-with/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.6","chai":"~1.9.1","mocha":"*"},"_id":"path-ends-with@0.1.0","_shasum":"1d390ca72599fbe4fca6348980d6a686a7cdd96d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1d390ca72599fbe4fca6348980d6a686a7cdd96d","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-0.1.0.tgz","integrity":"sha512-/RydbXjS/EumKHQnRa6L5/36WKab6yfUFdFPEyyuE5nyHtC/P/cT17ybyroZJa1f7A/Y9uqI+ovXOaO2itl5GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK8z+5QvGBIlupuXF2RspHpuMpU27Xi98DlJnCmbJnqQIhALuoPTEdzk6MZiDHc+HG6EMCmqZtLukXUW8KMlEzPaHA"}]},"directories":{}},"0.1.1":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/path-ends-with/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.6","chai":"~1.9.1","mocha":"*"},"keywords":["path","file","segment","ext","extension","extname","filepath","end","ending"],"_id":"path-ends-with@0.1.1","_shasum":"c063ae6b5b6de1cd26025833a98a4a0b2db7340f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c063ae6b5b6de1cd26025833a98a4a0b2db7340f","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-0.1.1.tgz","integrity":"sha512-lPmtaRWYv8L4Bjnay2Dfk4VUtXyRsY1VYirIsBS9YRLfh00eFNskwVFM+sjFICV7hV7jeapeH2NgPsJPAROU/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdlv4ByE3fn2V4BRgH0/Lch2vKleFglPCyXlso+GejTAIgQaJ4/GT67OJmoWYWUhKFtFyCksjC0xijs1lYbou9u2k="}]},"directories":{}},"0.2.0":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/path-ends-with/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":"^0.2.15"},"keywords":["end","ending","ends","ends-with","ext","extension","extname","file","filepath","match","matches","path","re","regex","regexp","segment","suffix"],"dependencies":{"ends-with":"^0.2.0"},"_id":"path-ends-with@0.2.0","_shasum":"abf458ab13efd3e6f01a69e811f195e9491b7d9b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"abf458ab13efd3e6f01a69e811f195e9491b7d9b","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-0.2.0.tgz","integrity":"sha512-8EYJCDoyfqWN7iAm7qMQvm/5QOuTLsCQ0FTFYVCovH4kn9Djhc//aijzdOxe5hjooIHk2klU0FI+Ehwl0FNW9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe49p5PF2jaZrmXedc7xNypcfovFxEVN5DuHoNtvuZ6AIgDUgLRFgduDXB021yHXCQYiCdMnNoRLEHenjc8uZ20Zg="}]},"directories":{}},"0.2.1":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/path-ends-with/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":"^0.2.15"},"keywords":["end","ending","ends","ends-with","ext","extension","extname","file","filepath","match","matches","path","re","regex","regexp","segment","suffix"],"dependencies":{"ends-with":"^0.2.0","normalize-path":"^0.2.1"},"_id":"path-ends-with@0.2.1","_shasum":"ac798d7e291465df5072b109d954f688189bb2bb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ac798d7e291465df5072b109d954f688189bb2bb","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-0.2.1.tgz","integrity":"sha512-Fjmm9ujg6GsUf83Ro3HchEvnaVgpRvBh/OSN8Ha8M+w7X2XYxS2XIbZJu+2H1RauB8ZsWNw6Jm0xcD25mDeXJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcqQUNNSDVXmue0QP1XkoO+uMu4V2QVVqPPAIpo8bHPQIhANI3e6tUzhERnnw6hgnJMatkUA6zZhqrYdDNqY1r5B25"}]},"directories":{}},"0.2.2":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -e index.js -o browser.js"},"dependencies":{"ends-with":"^0.2.0"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["directory","end","ending","ends","ends-with","file","filepath","fp","match","matches","normalize","path","re","regex","regexp","segment","slash","slashes","suffix","trailing"],"verb":{"related":{"description":"Other useful libraries for working with paths in node.js:","list":["contains-path","ends-with","is-absolute","is-relative","normalize-path","parse-filepath","path-segments","rewrite-ext"]}},"gitHead":"63a0242997a6baff9e04f8ed75fbe625bea0ab67","_id":"path-ends-with@0.2.2","_shasum":"97445138bba119427dd9de297691379b4726e0aa","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"97445138bba119427dd9de297691379b4726e0aa","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-0.2.2.tgz","integrity":"sha512-m1YeQEBgv+I9sjl/KVyAOrAItVVevKCWuhhQ9MKYP3/Axe4Ib6kNQ7GM8ctQ2EHXbfNil8vimY4d+C4C6s/Zxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2xLugG78BqZBiyUSvw7Sonb64aMN/cR87R5u69i98wAiEA5p8lKxoLc7JyUW0v8kWLwR4zzP0QmMlQ1WbiQZuUqBk="}]},"directories":{}},"0.2.3":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"0.2.3","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -e index.js -o browser.js"},"dependencies":{"ends-with":"^0.2.0","normalize-path":"^2.0.0"},"devDependencies":{"mocha":"*","should":"^4.0.4"},"keywords":["directory","end","ending","ends","ends-with","file","filepath","fp","match","matches","normalize","path","re","regex","regexp","segment","slash","slashes","suffix","trailing"],"verb":{"related":{"description":"Other useful libraries for working with paths in node.js:","list":["contains-path","ends-with","is-absolute","is-relative","normalize-path","parse-filepath","path-segments","rewrite-ext"]}},"gitHead":"d17b8eaaa9a6af3d557c4f516271e1b568adb8e0","_id":"path-ends-with@0.2.3","_shasum":"2a4a4b614a5bee39dafa0f5da48e862c6d48c3de","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2a4a4b614a5bee39dafa0f5da48e862c6d48c3de","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-0.2.3.tgz","integrity":"sha512-uUACA5FDLtyXZUQNwy1FHx4s4ZIu8dycoevQztd3t0UduXsluf56JZxokQNzRW0EqtJXPe3h/Ck8jB8C+xCOsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSsxrMPYRtFRFxull9298gQQ1U/iSlKSdgJWYN0oqDAAiAU/mThYIuk9Iyk+NnLLh39WwzEOe5SWg79CrfZ/OItGg=="}]},"directories":{}},"1.0.0":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ends-with":"^1.0.1","normalize-path":"^2.1.1"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.2.0"},"keywords":["directory","end","ending","ends","ends-with","file","filepath","fp","match","matches","normalize","path","re","regex","regexp","segment","slash","slashes","suffix","trailing","with"],"verb":{"related":{"list":["contains-path","ends-with","normalize-path","unixify"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"7a89d16d808588ef2bcd6e41e7d4a03390bbc197","_id":"path-ends-with@1.0.0","_shasum":"a8b59843fa2c3a7c7bf84260b6776c646e97feea","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"a8b59843fa2c3a7c7bf84260b6776c646e97feea","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-1.0.0.tgz","integrity":"sha512-0yXH82SEIILTbsvp+M/Vbx+aHrCFX8fxDeaQkzyTu6oe44Blgo+dOeXC9dMplT2XK9qbnbAFSltPnc4ihjzH5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDaIPVJc1MTQo9zCr9P14D0HsKfOTBc+y7PPXYEUR1AoAiA1Sfi3IucA2KFdDShP0f1OVTFx55a3XsgEqGdiBdv5ZA=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/path-ends-with-1.0.0.tgz_1492218511174_0.1397103830240667"},"directories":{}},"1.0.1":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ends-with":"^1.0.1","normalize-path":"^2.1.1"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.2.0"},"keywords":["directory","end","ending","ends","ends-with","file","filepath","fp","match","matches","normalize","path","re","regex","regexp","segment","slash","slashes","suffix","trailing","with"],"verb":{"related":{"list":["contains-path","ends-with","normalize-path","unixify"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"f35f2659eaab63d6b283b90f6ff772e472e0a352","_id":"path-ends-with@1.0.1","_shasum":"6bc6c4075db83d3cd17c567b0330d6a8ca9cad92","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6bc6c4075db83d3cd17c567b0330d6a8ca9cad92","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-1.0.1.tgz","integrity":"sha512-12g73URI53DM1CCw7BDBEmIU+GVGM7W8JerrJsFjKgHGOqKDmlX9GpP1GAzQ/GuzNOGP5RNlFsKk6uzm4GJ/pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbsVb6oYGYMJ/NMCNRgCRe/wuDi7ZcM2K9rwvGgUrVuAiAxrBx/ymeIRMLZuzSatP1xBLOtINaA36W1jj2c8w2cTQ=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/path-ends-with-1.0.1.tgz_1492219669838_0.7889911155216396"},"directories":{}},"1.1.0":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ends-with":"^1.0.1","normalize-path":"^2.1.1"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.2.0"},"keywords":["directory","end","ending","ends","ends-with","file","filepath","fp","match","matches","normalize","path","re","regex","regexp","segment","slash","slashes","suffix","trailing","with"],"verb":{"related":{"list":["contains-path","ends-with","normalize-path","unixify"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"f8ab0333291ff5be31ebc29817f219a7f7df94af","_id":"path-ends-with@1.1.0","_shasum":"8a22b116261b9a2bdfa3249f7b5a9d5646a89bf5","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8a22b116261b9a2bdfa3249f7b5a9d5646a89bf5","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-1.1.0.tgz","integrity":"sha512-WSJEad3deVVKR+cVuKm62UUqRFzq2pPRDytDm9KclCnVXG0aZraCsCnEAkJoBQJe/5RBisUQJ4/YVvfykSHUWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIoDj4EgQIUHaG7qfKPvz1nV66/uXP3UWAgYXDIFRhjAiEA42O3DnHPdX6LUrHc2Rnfi9FPwv1BD1T5qgrynB1r/Lk="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/path-ends-with-1.1.0.tgz_1492414389638_0.4392492964398116"},"directories":{}},"2.0.0":{"name":"path-ends-with","description":"Return `true` if a file path ends with the given string/suffix.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/path-ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["path","ends-with","matches","match"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["contains-path","ends-with","normalize-path","unixify"]},"lint":{"reflinks":true}},"gitHead":"40de7eb450e9dfb5ef8ce2993e5f2925bb923984","_id":"path-ends-with@2.0.0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-Ym0O1GckLka6x0jUoQiVt5TUGI7tvUcLI8thIUD6UMaRK5yMP3wKrvyQAhu2Mpx0ZaX32lXwNjVCxZPyuV4jrA==","shasum":"4dd16f31166ae3add6ece8c476f66970dab7bb9e","tarball":"https://registry.npmjs.org/path-ends-with/-/path-ends-with-2.0.0.tgz","fileCount":4,"unpackedSize":7983,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBiHSccCTEsK1aehMKrd4Y3OIoAS5AziNRXaQ+l88NipAiBxqRVfES2dsvUDxwOBfpqyjqN+AKd+9t8OG4N7lDXutQ=="}]},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-ends-with_2.0.0_1521340743717_0.053303657992382014"},"_hasShrinkwrap":false}},"readme":"# path-ends-with [![NPM version](https://img.shields.io/npm/v/path-ends-with.svg?style=flat)](https://www.npmjs.com/package/path-ends-with) [![NPM monthly downloads](https://img.shields.io/npm/dm/path-ends-with.svg?style=flat)](https://npmjs.org/package/path-ends-with) [![NPM total downloads](https://img.shields.io/npm/dt/path-ends-with.svg?style=flat)](https://npmjs.org/package/path-ends-with) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/path-ends-with.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/path-ends-with) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/path-ends-with.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/path-ends-with)\n\n> Return `true` if a file path ends with the given string/suffix.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save path-ends-with\n```\n\n## Usage\n\n```js\nconst endsWith = require('path-ends-with');\n\nconsole.log(endsWith('foobar', 'bar'));  //=> false \nconsole.log(endsWith('foo/bar', 'bar')); //=> true\n```\n\n## Options\n\n### options.nocase\n\n**Type**: `boolean`\n\n**Default**: `undefined`\n\nEnable case sensitivity.\n\n```js\nendsWith('foo/bar', 'BAR');\n//=> false\nendsWith('foo/bar', 'BAR', { nocase: true }); \n//=> true\n```\n\n### options.partialMatch\n\n**Type**: `boolean`\n\n**Default**: `false`\n\nAllow matching against part of a path segment.\n\n```js\nendsWith('foobar', 'bar');                          \n//=> false                 \nendsWith('foobar', 'bar', { partialMatch: true });  \n//=> true \n```\n\n## Release history\n\n### v2.0\n\n**Breaking changes**\n\n* No longer supports leading `!` as a negation character.\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\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</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\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</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [contains-path](https://www.npmjs.com/package/contains-path): Return true if a file path contains the given path. | [homepage](https://github.com/jonschlinkert/contains-path \"Return true if a file path contains the given path.\")\n* [ends-with](https://www.npmjs.com/package/ends-with): Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for… [more](https://github.com/jonschlinkert/ends-with) | [homepage](https://github.com/jonschlinkert/ends-with \"Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.\")\n* [normalize-path](https://www.npmjs.com/package/normalize-path): Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a… [more](https://github.com/jonschlinkert/normalize-path) | [homepage](https://github.com/jonschlinkert/normalize-path \"Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes unless disabled.\")\n* [unixify](https://www.npmjs.com/package/unixify): Convert Windows file paths to unix paths. | [homepage](https://github.com/jonschlinkert/unixify \"Convert Windows file paths to unix paths.\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [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 March 17, 2018._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-23T14:31:51.691Z","created":"2014-06-26T03:09:23.888Z","0.1.0":"2014-06-26T03:09:23.888Z","0.1.1":"2014-06-26T03:12:23.589Z","0.2.0":"2014-10-16T16:44:01.096Z","0.2.1":"2014-10-19T01:20:26.373Z","0.2.2":"2015-10-04T06:41:16.554Z","0.2.3":"2015-10-10T11:26:16.900Z","1.0.0":"2017-04-15T01:08:31.956Z","1.0.1":"2017-04-15T01:27:50.395Z","1.1.0":"2017-04-17T07:33:11.496Z","2.0.0":"2018-03-18T02:39:03.786Z"},"homepage":"https://github.com/jonschlinkert/path-ends-with","keywords":["path","ends-with","matches","match"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/path-ends-with.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/path-ends-with/issues"},"readmeFilename":"README.md","license":"MIT"}