$ cnpm install ends-with-string
Check if a string or buffer ends with a given string.
yarn add ends-with-string
npm install ends-with-string
import endsWith from "ends-with-string";
function endsWith(input: string | Buffer, string: string): boolean;
Copyright 2013 - present © cnpmjs.org | Home |