prototype-indexof-shim

1.0.0 • Public • Published

prototype-indexof-shim

Build Status

Browser shim for Array.prototype.indexOf as seen on MDN

This is most likely useful in a project built with Browserify where <= IE8 compatibility is required.

Installation

npm install prototype-indexof-shim --save

Usage

require('prototype-indexof-shim');

This will not override the native method.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i prototype-indexof-shim

Weekly Downloads

2

Version

1.0.0

License

CC-BY-SA-2.5

Last publish

Collaborators

  • attilab