Package
ends-with
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 64.7k
- +13% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 years ago
- v1.0.1
- GitHub stars
- 8
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
64,697 downloads last week, 277,184 in the last month. The 12-month change of +13% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.0.1, 14 Apr 20179 years ago
- First published
- -
- Last push to GitHub
- 14 Apr 20173,450 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 34
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install ends-with- jsDelivr
https://cdn.jsdelivr.net/npm/ends-with@1.0.1/ - unpkg
https://unpkg.com/ends-with@1.0.1/ - esm.sh
https://esm.sh/ends-with@1.0.1
Indexability: Indexed.