{"_id":"ends-with-string","_rev":"3-fa5bbb555c20b3c16789d4b2a56b380a","name":"ends-with-string","dist-tags":{"latest":"2.0.0"},"versions":{"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","integrity":"sha512-vA4n547SyHsrzLaMIU5vkh+8ayR6SBGBtVxWmMeiu6CEFnkLuJphbTFV6RnhXJGS/wWWm8O92MQrc3dZbcKPQA==","tarball":"https://registry.npmjs.org/ends-with-string/-/ends-with-string-1.0.0.tgz","fileCount":7,"unpackedSize":3666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeKwTCRA9TVsSAnZWagAAiVYP/icfcURPhFP+OjzK05ix\nVDArJKiw3W8q8unj7OfWMqM2eqLAkQxa2+l1PKU4Vy5biMgUUJATLTJGwYnG\nyuwhBud2Mg47hQxWchlw8st0ScnV4ecb9GTGgRxBB2IF+tETqttkeT+zPFPF\n3qw4fcHWHvEDGODDSrelPYmyivL2kY8vqKhmoZl53mAggci4LvzmaWtTvMul\nsOcvLj45aWYKqx0b/KH6X4Ti68zcPbsTEI2FJhP/4j/A8GYMSyVrIYzSdPI/\n4odc8c8fQHG29xOoEcJynVxxhZULnPPzxYA1jIG1d0OLyDP1qzxKji67iyaX\nrEEIp3/DNGhGqbT9wYXeI/9BHdcZtakK3CudfWO4/Hv86JGS6wbXVxfjbrJu\nV7tttpCZskRAXyznMs1N29j9fnG2GEUs1rQ6Eo/Q+BLjX5O8PF8/8ZXdTIdw\n8uEvhRxOcjhHyLjZq2LlnJsaHiDjVJPF4MMjVLTeJ9jHpaiKdlcHepVE5+XD\nmUEGiQZa8HRDVzrJcKDzcLlzyURjfX2uyyOlQEVq5iLZWCT/Ra2w5C46pMWU\ne4pncilPdRHvsHzvzH6tlDH7IVJ8RT1QwblfhiGNTUAR2P7Lr5IzY6v/ddVs\n0aYU14rQK0E9yYLb6wcGINf+MzDUY59DgPM/1heR6BoigUn3SnMR6bQDRXWw\n3O5F\r\n=zHqN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcuCoCWX+Dyq2Ts8hGDD6VBVOyM/owFrBgItjZdMVjRQIgG1mquYd7r5nCs10UcXyGD1JLDTfEcNIz0ByKsK1NBgg="}]},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_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},"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","integrity":"sha512-TQg80EKJsnNfH9H/5HpAXKJP7YMYFkoUeS9ayMY60zwNoiNecv8D0+a9cycqdM8rhj/hfBqJb+9uLMsYP8d/Bw==","tarball":"https://registry.npmjs.org/ends-with-string/-/ends-with-string-1.0.1.tgz","fileCount":7,"unpackedSize":3885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeK5+CRA9TVsSAnZWagAA9doP/RtdRB9BBo4wkaCmX2XL\ndmNm3SB4mAH7ly6JiytFZqlkGTqNXLksSQK2UcoW2g1nepEL8ZrojAmFcJKS\nl3DR3kYEO9jzwOnkB3O4JrwsizlpJfnPpQYb8e8IrRRE1Jap4w/PPENnDegt\ndu1zley/iF4WcUlHKK1MBKdoaFOEaFM+NLBYJefYV5lw0oSGdFgilBsdvGED\nNzJqBufpm6rJ/3qby6Kyu2sBuPXtOWEDkjTWGf4nZEI9CyM3KLY8Z4n4f1bp\n2+mzwjGxCm20koTaig26Pac1qaVcxMhYINOhgI5Wywt9ygif7Tpw1LGMBNtB\nMyaC7V8hIPV7bgMGqXXs6zbOD2Y10mX8irfJeF8lZ8c+uBeIGogWdJnQEhaS\nk2PlgpC6a8IFaik9b6XX4Gv6pudu+HvIJVvg+soU0W5VmfnjeRLMl4FkgpO6\nG7tBdmmqsYET+EqWw1Mf9PYESKje2QpcObbWKjemebAWgiqMVcbNGrfpY6uJ\nddQYSRR4wiNP19Mc4UAbEflaZY3YOb3UI+IzSEqfZ6TwvhSqqDUZylT2ZJjD\n5MOtzNP48wEF32q8s00a0z1Z2P95Vqm5NNhxC7WmaCmh7Or6HAd3SG+4NOoG\nffXtFOjpb1EGXOxjDJNGyKsnPgkp9/V05tqwFA2MIYMtVk5YFhnTtLXMAI8W\nI697\r\n=LGU+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCudQL6w3xkYDK7+x8GCMK3KdX3vArfnxjS8im1iNJMPgIhAJM39IDMbtDSAxkAyOB4agwFZzZ4nvi6FucNRFRDGOZJ"}]},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_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},"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","integrity":"sha512-c82jLyJORw/yJ7Z3nKyp+WOxN3WGULnSByJAsanu+8I/H6WlZIa2D9bz5rEmRKCKhCNVK1NKsKoHXEcE4LEdbA==","tarball":"https://registry.npmjs.org/ends-with-string/-/ends-with-string-2.0.0.tgz","fileCount":8,"unpackedSize":4535,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6YMD30UtOLVeNHP24BSPUjOuOUSyqSCyLgrS0Dka1kwIhAM6xsBO1se4LvUGHvsPpVZWVlNhdPAaNAQfoqoaYkzdx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvNMpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6XQ//ZiAaLZHL+n5KkP4jdJTDz7RZk+tW87md0NtFd6yAAILDOS0v\r\nf2jlTG85F7Tj5/K4LDm5mpjWsEGpen0oPPQBRJR/vUHAZ6oLAngBClTIHjmP\r\nH+9Pe0dL8ytv9X/7WqjZypqelIj/TMqgxXsImstkaSeBd9USdS/NyK1ymoJ1\r\nHmg1JPVLzzaPI+2oTHe6FfXzfxEZmXqC5d2h8smpV9pU93+ZIrlbgwrKQNFC\r\nAGlIIdrL6nQ32l9pjjltHr/LzaZDVZ9wRk3IaNy8fxgcNkOmlwUsu4iGB2Yv\r\n3gbxB6hdI3DuQ2QOf9nj0z4WlcQfG1jWQiifRsPPeOliDgfaepzML5Xz67Ig\r\n7cRYY7uuxldYNT5XKizi8dD/6OAhSwG23WEe0wioqbhrqtKTV8qhszyi7W2i\r\nClk4vHBO5Oq0AG9FJWHrTfAI9Qp/6BImpSAx37XZAkEOlUOPwteq5RXuk5ek\r\n41xcWaQn06WmL101eBlaYOpxcCWoYTGqQW+PWfjGoIQuLWBxaq6sjNRkt9yY\r\nI4E1oHJcd+2Xy8S6SsLt/GE0D1qP/VzFrKgHk8D/Hv5q0k3lra39qpTGo/Bu\r\ncf+QwffgGTE+EzDX3otSCNyzHhzp/v/Buhfvva3XUQ2TCyzUQk5j7hTQD4Tv\r\nmOKq+uHPfDapHr5ZQXAfJdNvxlEPQZWZGNs=\r\n=4BWH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ends-with-string_2.0.0_1673319209638_0.7337847343413815"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-03T16:51:31.401Z","1.0.0":"2020-10-03T16:51:31.542Z","modified":"2023-01-10T02:53:29.865Z","1.0.1":"2020-10-03T17:01:50.278Z","2.0.0":"2023-01-10T02:53:29.775Z"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"description":"Check if a string or buffer ends with a given string","keywords":["string","ends","with","buffer","endsWith","char","end","check","last"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/ends-with-string.git"},"author":{"name":"Connor White"},"license":"MIT","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","readmeFilename":"README.md"}