ends-with-string
Check if a string or buffer ends with a given string
Last updated 6 years ago by bconnorwhite .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install ends-with-string 
SYNC missed versions from official npm registry.

ends-with-string

NPM TypeScript Coverage Status GitHub Stars Twitter Follow

Check if a string or buffer ends with a given string.

Installation

yarn add ends-with-string
npm install ends-with-string

API

import endsWith from "ends-with-string";

function endsWith(input: string | Buffer, string: string): boolean;

Dependenciesdependencies


Dev DependenciesDavid


License license

MIT

Current Tags

  • 1.0.1                                ...           latest (6 years ago)

2 Versions

  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |