New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

string-includes-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-includes-polyfill

Polyfill for String.prototype.includes

1.0.6
latest
Source
npm
Version published
Weekly downloads
814
-40.67%
Maintainers
1
Weekly downloads
 
Created
Source

Polyfill for String.prototype.includes

Version

NPM

Polyfill for string method includes() ECMAScript 2015 (6th Edition, ECMA-262).

Installation

npm i string-includes-polyfill

Usage


var str = 'Built for developers';

str.includes('Built');  // true
str.includes('for');    // true
str.includes('Build');  // false
str.includes('For');    // false

See more examples and description on the page.

Keywords

string-includes

FAQs

Package last updated on 01 Dec 2021

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