first-match: Array Element Finder
JSON →The `first-match` package provides a utility function to find the first element in an array that satisfies a given callback test. If no iterator is provided, it returns the first truthy value encountered in the array. This functionality is directly equivalent to what was historically offered by `underscore.find()` and is now standard in modern JavaScript environments via `Array.prototype.find()`. The package is at version 0.0.1, indicating an early development stage, and has effectively been abandoned given the ubiquitous availability of native array methods and the lack of updates over a significant period. Its primary differentiating factor might have been its minimal footprint before native alternatives were widely adopted, but it offers no unique advantages over current standard practices. Its release cadence is effectively zero.
Traffic · last 30 days ↑600% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany