{"_id":"ends-with-string","_rev":"204347","name":"ends-with-string","description":"Check if a string or buffer ends with a given string","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"time":{"modified":"2023-03-21T13:41:38.000Z","created":"2020-10-03T16:51:31.542Z","2.0.0":"2023-01-10T02:53:29.775Z","1.0.1":"2020-10-03T17:01:50.278Z","1.0.0":"2020-10-03T16:51:31.542Z"},"users":{},"author":{"name":"Connor White"},"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/ends-with-string.git"},"versions":{"2.0.0":{"name":"ends-with-string","version":"2.0.0","description":"Check if a string or buffer ends with a given string","main":".auto/build/index.js","author":{"name":"Connor White"},"license":"MIT","private":false,"type":"module","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/ends-with-string.git"},"keywords":["string","ends","with","buffer","endsWith","char","end","check","last"],"exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"dependencies":{"char-to-string":"^2.0.0"},"devDependencies":{"autorepo":"^0.1.7"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"ends-with-string@2.0.0","dist":{"shasum":"89039e27e5ec5b34934c24903ceb593975594ce7","size":1940,"noattachment":false,"key":"/ends-with-string/-/ends-with-string-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/ends-with-string/download/ends-with-string-2.0.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ends-with-string_2.0.0_1673319209638_0.7337847343413815"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-10T02:53:29.775Z","publish_time":1673319209775,"_cnpm_publish_time":1673319209775},"1.0.1":{"name":"ends-with-string","version":"1.0.1","description":"Check if a string or buffer ends with a given string","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/ends-with-string","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/ends-with-string.git"},"keywords":["string","ends","with","buffer","endsWith","char","end","check","last"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"char-to-string":"^1.0.0"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"ends-with-string@1.0.1","dist":{"shasum":"ce76999307ebef92d039e2cb895c22f0677540ec","size":1647,"noattachment":false,"key":"/ends-with-string/-/ends-with-string-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/ends-with-string/download/ends-with-string-1.0.1.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ends-with-string_1.0.1_1601744510137_0.5859609153735248"},"_hasShrinkwrap":false,"publish_time":1601744510278,"_cnpm_publish_time":1601744510278,"_cnpmcore_publish_time":"2021-12-17T00:21:56.561Z"},"1.0.0":{"name":"ends-with-string","version":"1.0.0","description":"Check if a string or buffer ends with a given string","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/ends-with-string","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/ends-with-string.git"},"keywords":[],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"char-to-string":"^1.0.0"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"ends-with-string@1.0.0","dist":{"shasum":"c11ec1419aa17feadab2c82e1ddc2471e8739c53","size":1578,"noattachment":false,"key":"/ends-with-string/-/ends-with-string-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/ends-with-string/download/ends-with-string-1.0.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ends-with-string_1.0.0_1601743891401_0.687305870734658"},"_hasShrinkwrap":false,"publish_time":1601743891542,"_cnpm_publish_time":1601743891542,"_cnpmcore_publish_time":"2021-12-17T00:21:56.823Z"}},"readme":"<!--BEGIN HEADER-->\n<div id=\"top\" align=\"center\">\n  <h1>ends-with-string</h1>\n  <a href=\"https://npmjs.com/package/ends-with-string\">\n    <img alt=\"NPM\" src=\"https://img.shields.io/npm/v/ends-with-string.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/ends-with-string\">\n    <img alt=\"TypeScript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/ends-with-string.svg\">\n  </a>\n  <a href=\"https://coveralls.io/github/bconnorwhite/ends-with-string?branch=master\">\n    <img alt=\"Coverage Status\" src=\"https://img.shields.io/coveralls/github/bconnorwhite/ends-with-string.svg?branch=master\">\n  </a>\n</div>\n\n<br />\n\n<blockquote align=\"center\">Check if a string or buffer ends with a given string.</blockquote>\n\n<br />\n\n_If I should maintain this repo, please ⭐️_\n<a href=\"https://github.com/bconnorwhite/ends-with-string\">\n  <img align=\"right\" alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/bconnorwhite/ends-with-string?label=%E2%AD%90%EF%B8%8F&style=social\">\n</a>\n\n_DM me on [Twitter](https://twitter.com/bconnorwhite) if you have questions or suggestions._\n<a href=\"https://twitter.com/bconnorwhite\">\n  <img align=\"right\" alt=\"Twitter\" src=\"https://img.shields.io/twitter/url?label=%40bconnorwhite&style=social&url=https%3A%2F%2Ftwitter.com%2Fbconnorwhite\">\n</a>\n\n---\n<!--END HEADER-->\n\n## Installation\n\n```sh\nyarn add ends-with-string\n```\n\n```sh\nnpm install ends-with-string\n```\n\n```sh\npnpm add ends-with-string\n```\n\n## API\n\n```ts\nimport endsWith from \"ends-with-string\";\n\nfunction endsWith(input: string | Buffer, string: string): boolean;\n```\n\n<!--BEGIN FOOTER-->\n\n<br />\n\n<h2 id=\"dependencies\">Dependencies<a href=\"https://www.npmjs.com/package/ends-with-string?activeTab=dependencies\"><img align=\"right\" alt=\"dependencies\" src=\"https://img.shields.io/librariesio/release/npm/ends-with-string.svg\"></a></h2>\n\n- [char-to-string](https://www.npmjs.com/package/char-to-string): Convert a character or character code to string\n\n\n<br />\n\n<h3>Dev Dependencies</h3>\n\n- [autorepo](https://www.npmjs.com/package/autorepo): Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.\n\n\n<br />\n\n<h2 id=\"license\">License <a href=\"https://opensource.org/licenses/MIT\"><img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/ends-with-string.svg\"></a></h2>\n\n[MIT](https://opensource.org/licenses/MIT)\n<!--END FOOTER-->\n","_attachments":{},"license":"MIT"}