New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ends-with-string

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ends-with-string

Check if a string or buffer ends with a given string

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
19K
-5.77%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • char-to-string: Convert a character or character code to string

Dev Dependencies

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

License license

MIT

Keywords

string

FAQs

Package last updated on 10 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts