N00b's Programming Machine

    string-includes-polyfill

    1.0.6 • Public • Published

    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.

    Install

    npm i string-includes-polyfill

    DownloadsWeekly Downloads

    4,108

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    3.81 kB

    Total Files

    6

    Last publish

    Collaborators

    • alfaslash