Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

The **error‑if‑array‑too‑short‑to‑meet‑adjacent‑items‑request** package exports a single utility function that validates whether an array contains enough elements to return a given number of adjacent items starting at a specified index (which may be positive or negative). If the request cannot be satisfied, it throws an informative error. This lightweight, zero‑dependency module is aimed at JavaScript/TypeScript developers who need a simple runtime guard for safe array slicing or neighbor‑lookup logic.

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

writetome51-2's profile
writetome51-2
4 contributions

Recent events

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

No events yet
writetome51

writetome51/error-if-array-too-shor...

Function triggers error if array is too short to return a requested number of adjacent items beginning at a particular index

JavaScript
0
0
MIT License