index-of v0.2.0

npm

Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.

Updated View on npm →
Version
0.2.0
15d ago
License
MIT
15d ago
Weekly Downloads
30.9K
2d ago
Dependencies
0
15d ago
Required Runtime
>=0.10.0
15d ago
Deprecated
No
15d ago

Weekly downloads

Release activity

1 release tracked. Last release: 15 days ago.

v0.2.0 current
v0.2.0 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 30946 2d ago
required_runtime (none) >=0.10.0 15d ago
dep_count (none) 0 15d ago
license (none) MIT 15d ago
deprecated (none) false 15d ago
latest_version (none) 0.2.0 15d ago

Use it

REST API
$ curl
https://api.grounded-api.dev/v1/npm/index-of/latest_version
{ "value": "0.2.0" }
CLI
$ npx grounded-cli index-of
index-of@0.2.0 (npm)