Skip to content

bconnorwhite/ends-with-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ends-with-string

NPM TypeScript Coverage Status

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

If I should maintain this repo, please ⭐️ GitHub stars

DM me on Twitter if you have questions or suggestions. Twitter


Installation

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

API

import endsWith from "ends-with-string";

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

Dependenciesdependencies


Dev Dependencies

  • autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.

License license

MIT