dfcreative

dfcreative/negative-index

Convert negative index to positive, starting from the end

JavaScript
1
0
No license

Negative-index is a small JavaScript utility for converting negative indices to positive ones, starting from the end of a sequence—similar to how Array.slice handles negative indices. It's useful for developers working with array-like data structures or normalizing offsets, such as time values, where negative indices need to be mapped to their positive equivalents. The package is particularly handy for JavaScript developers needing consistent index normalization across arrays or other indexed collections.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

dy's profile
dy
8 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet