
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
string-includes
Advanced tools
Ponyfill: A polyfill that doesn't overwrite the native method
$ npm install --save string-includes
const stringIncludes = require('string-includes');
stringIncludes('unicorns and rainbows', 'unicorns');
//=> true
stringIncludes('unicorns and rainbows', 'rainbows');
//=> true
stringIncludes('unicorns and rainbows', 'unicorns', 1);
//=> false
Type: string
The string to search in.
Type: string
A string to be searched for.
Type: Number
Default: 0
The position in this string at which to begin searching for searchString.
MIT © Kevin Martensson
FAQs
ES6 String.includes() ponyfill
The npm package string-includes receives a total of 21 weekly downloads. As such, string-includes popularity was classified as not popular.
We found that string-includes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.