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

find-polyfill

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

find-polyfill

Implements the find method for Array if not already implemented

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
96
increased by31.51%
Maintainers
1
Weekly downloads
 
Created
Source

find-polyfill

build version package dependencies minified license hits

Implements the find method on Array if not already implemented.

Need for Internet Explorer.

No need for Nodejs, Chrome & Firefox

Don't no about others browsers.

References the script

<script src="node_modules/find-polyfill/distrib/find-polyfill.min.js"></script>

Example

var arr=[0,1,2,3,4,5,6];

arr.find(x=>x==5);  // 5

// for IE, you must write something like this:
arr.find(function(x) { return x===5;}) // 5

License

The license is MIT

Author: Sylvain Longepée

Keywords

FAQs

Package last updated on 12 Apr 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc