{"_id":"end-with","_rev":"448462","name":"end-with","description":"Determines whether a string ends with the characters of another string.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"bubkoo","email":""}],"time":{"modified":"2021-08-05T06:53:42.000Z","created":"2016-04-11T16:15:11.354Z","1.0.2":"2016-04-15T04:59:48.314Z","1.0.1":"2016-04-12T13:22:55.067Z","1.0.0":"2016-04-11T17:37:19.962Z","0.0.0":"2016-04-11T16:15:11.354Z"},"users":{},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/gearcase/end-with.git"},"versions":{"1.0.2":{"name":"end-with","version":"1.0.2","description":"Determines whether a string ends with the characters of another string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","starts","start","with","ends","end","search","prefix","postfix","check","first","begin","last","end","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/gearcase/end-with.git"},"bugs":{"url":"https://github.com/gearcase/end-with/issues"},"homepage":"https://github.com/gearcase/end-with#readme","devDependencies":{"jshint":"^2.9.1","chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","mocha":"^2.4.5"},"gitHead":"90f815e0ba28574b466c9e28772e9bf2eefb5ed4","_id":"end-with@1.0.2","_shasum":"a432755ab4f51e7fc74f3a719c6b81df5d668bdc","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"a432755ab4f51e7fc74f3a719c6b81df5d668bdc","size":2160,"noattachment":false,"key":"/end-with/-/end-with-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/end-with/download/end-with-1.0.2.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/end-with-1.0.2.tgz_1460696387723_0.879227263154462"},"directories":{},"publish_time":1460696388314,"_cnpm_publish_time":1460696388314,"_hasShrinkwrap":false},"1.0.1":{"name":"end-with","version":"1.0.1","description":"Determines whether a string ends with the characters of another string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","starts","start","with","ends","end","search","prefix","postfix","check","first","begin","last","end","shim","polyfill","Ponyfill","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/end-with.git"},"bugs":{"url":"https://github.com/bubkoo/end-with/issues"},"homepage":"https://github.com/bubkoo/end-with#readme","devDependencies":{"jshint":"^2.9.1","chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","mocha":"^2.4.5"},"gitHead":"adb48c36fbd21a61d40e73b180e3fca50db8c99b","_id":"end-with@1.0.1","_shasum":"e8e34b9860f77d8c3390eefe57df004b791173ed","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"e8e34b9860f77d8c3390eefe57df004b791173ed","size":2168,"noattachment":false,"key":"/end-with/-/end-with-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/end-with/download/end-with-1.0.1.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/end-with-1.0.1.tgz_1460467373577_0.1507802528794855"},"directories":{},"publish_time":1460467375067,"_cnpm_publish_time":1460467375067,"_hasShrinkwrap":false},"1.0.0":{"name":"end-with","version":"1.0.0","description":"Determines whether a string ends with the characters of another string.","main":"index.js","scripts":{"lint":"jshint index.js","pretest":"npm run lint","test":"mocha -R spec","test:cov":"rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec","test:rpt":"npm run test:cov && coveralls < ./test/coverage/lcov.info","prepublish":"npm test"},"keywords":["string","str","search","prefix","starts","start","with","ends","end","check","first","begin","last","end","util","utils","utility","tool"],"license":"MIT","author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/end-with.git"},"bugs":{"url":"https://github.com/bubkoo/end-with/issues"},"homepage":"https://github.com/bubkoo/end-with#readme","devDependencies":{"jshint":"^2.9.1","chai":"^3.5.0","coveralls":"^2.11.9","istanbul":"^0.4.2","mocha":"^2.4.5"},"gitHead":"127cef7d26576a912cce2632f62bc3ff70595669","_id":"end-with@1.0.0","_shasum":"9dd5a08df9f7bad588cfb575b595e25faa59c0ec","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"9dd5a08df9f7bad588cfb575b595e25faa59c0ec","size":2006,"noattachment":false,"key":"/end-with/-/end-with-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/end-with/download/end-with-1.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/end-with-1.0.0.tgz_1460396237477_0.5936071281321347"},"directories":{},"publish_time":1460396239962,"_cnpm_publish_time":1460396239962,"_hasShrinkwrap":false},"0.0.0":{"name":"end-with","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/bubkoo/end-with.git"},"author":{"name":"bubkoo","email":"bubkoo.wy@gmail.com","url":"https://github.com/bubkoo"},"license":"MIT","bugs":{"url":"https://github.com/bubkoo/end-with/issues"},"homepage":"https://github.com/bubkoo/end-with#readme","gitHead":"e8a015ed92b2023b76b632e8316831d0535b5612","_id":"end-with@0.0.0","_shasum":"d02068bc8d77ab5ca240376325b6926f27ed0d8a","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.4.0","_npmUser":{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},"dist":{"shasum":"d02068bc8d77ab5ca240376325b6926f27ed0d8a","size":1062,"noattachment":false,"key":"/end-with/-/end-with-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/end-with/download/end-with-0.0.0.tgz"},"maintainers":[{"name":"bubkoo","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/end-with-0.0.0.tgz_1460391310071_0.09903025138191879"},"directories":{},"publish_time":1460391311354,"_cnpm_publish_time":1460391311354,"_hasShrinkwrap":false}},"readme":"# end-with <sup>[![Version Badge](http://versionbadg.es/gearcase/end-with.svg)](https://npmjs.org/package/end-with)</sup>\n\n\n> Determines whether a string ends with the characters of another string.\n\n> ES2015 [String#endsWith()](http://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype.endswith) ponyfill.\n\n> Ponyfill: A polyfill that doesn't overwrite the native method.\n\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/gearcase/end-with/blob/master/LICENSE)\n\n[![build:?](https://img.shields.io/travis/gearcase/end-with/master.svg?style=flat-square)](https://travis-ci.org/gearcase/end-with)\n[![coverage:?](https://img.shields.io/coveralls/gearcase/end-with/master.svg?style=flat-square)](https://coveralls.io/github/gearcase/end-with)\n\n\n## Install\n\n```\n$ npm install --save end-with \n```\n\n## Usage\n\n> For more use-cases see the [tests](https://github.com/gearcase/end-with/blob/master/test/spec/index.js)\n\n```js\nvar endWith = require('end-with');\n\nendWith('abcde', 'e');  // => true\nendWith('abcde', 'de'); // => true\nendWith('abcde', 'bc'); // => false\nendWith('abcde', '');   // => true\nendWith('abcde');       // => false\nendWith('abcde', null); // => false\n\n```\n\n## Related\n\n- [start-with](https://github.com/gearcase/start-with) - Determines whether a string begins with the characters of another string.\n- [pad-start](https://github.com/gearcase/pad-start) - ES spec-compliant String.prototype.padStart shim.\n- [pad-end](https://github.com/gearcase/pad-end) - ES spec-compliant String.prototype.padEnd shim.\n\n## Contributing\n \nPull requests and stars are highly welcome. \n\nFor bugs and feature requests, please [create an issue](https://github.com/gearcase/end-with/issues). \n","_attachments":{},"homepage":"https://github.com/gearcase/end-with#readme","bugs":{"url":"https://github.com/gearcase/end-with/issues"},"license":"MIT"}