{"name":"ends-with","description":"Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/ends-with","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ends-with.git"},"bugs":{"url":"https://github.com/jonschlinkert/ends-with/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/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.6","ansi":"^0.3.0","benchmark":"^1.0.0","verb-tag-jscomments":">= 0.2.0"},"keywords":["array","end","ends","javascript","js","string","suffix","util","utility","utils"],"dependencies":{},"_id":"ends-with@0.2.0","_shasum":"2f9da98d57a50cfda4571ce4339000500f4e6b8a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2f9da98d57a50cfda4571ce4339000500f4e6b8a","tarball":"http://registry-npm.ywwl.com/ends-with/download/ends-with-0.2.0.tgz","integrity":"sha512-lRppY4dK3VkqBdR242sKcAJeYc8Gf/DhoX9AWvWI2RzccmLnqBQfwm2k4oSDv5MPDjUqawCauXhZkyWxkVhRsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8nabU6/XLvPmiQOR6BXD5Y3Kf3EwpI0dcs3TpdOx5eAIhANErHVjFXV1/nM57NctLMCetRQ1OjpLFZmL7PXIqbPNV"}],"size":6087,"noattachment":false,"key":"/ends-with/-/ends-with-0.2.0.tgz"},"directories":{},"readme":"# ends-with [![NPM version](https://img.shields.io/npm/v/ends-with.svg?style=flat)](https://www.npmjs.com/package/ends-with) [![NPM monthly downloads](https://img.shields.io/npm/dm/ends-with.svg?style=flat)](https://npmjs.org/package/ends-with) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/ends-with.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/ends-with)\n\n> Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save ends-with\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add ends-with\n```\n\n## Usage\n\n```js\nvar endsWith = require('ends-with');\n\nendsWith('abc', 'c');\n//=> true\n\nendsWith(['a', 'b', 'c'], 'c');\n//=> true\n\nendsWith(['abc', 'abc', 'abc'], 'c');\n//=> false\n\nendsWith(['abc', 'abc', 'abc'], 'c');\n//=> false\n\nendsWith(['a', 'b', 42], 42)\n//=> true\n\nendsWith(['a', 'b', 42], '42')\n//=> false\n```\n\n## About\n\n### Related projects\n\n[path-ends-with](https://www.npmjs.com/package/path-ends-with): Return `true` if a file path ends with the given string/suffix. | [homepage](https://github.com/jonschlinkert/path-ends-with \"Return `true` if a file path ends with the given string/suffix.\")\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| 4 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [tunnckoCore](https://github.com/tunnckoCore) |\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.5.0, on April 14, 2017._","publish_time":1412616135291,"_cnpm_publish_time":1412616135291,"dist-tags":{"latest":"1.0.1"}}