Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
fp-ts-iterable
Advanced tools
fp-ts bindings for `Iterable` types, allowing for programming lazy and infinite lists.
fp-ts bindings for Iterable
types, allowing for programming lazy and infinite lists.
This could (soon) be used as a drop in replacement for the module fp-ts/ReadonlyArray
# npm
npm install fp-ts-iterable
# yarn
yarn add fp-ts-iterable
# pnpm
pnpm add fp-ts-iterable
Please visit the documentation for the API surface.
IterableTask
for interop with AsyncIterator
NonemptyIterable
NonempyIterableTask
Iterable
ReadonlyArray
, it's recommended to coerce it to an Iterable
using FromReadonlyArray
.\*Right*
functionsRight
in their names require buffering all values so it knows where the end is.Iterable
is large or infinite, it may cause an out of memory error.
Ensure infinite iterables end by using a skip combinator that does not contain the word Right
.AsyncIterable
(Upcoming)AsyncIterable<A>
is Iterable<Promise<A>>
, but should be coerced to Iterable<Task<A>>
via FromAsyncIterable
FAQs
fp-ts bindings for `Iterable` types, allowing for programming lazy and infinite lists.
The npm package fp-ts-iterable receives a total of 2 weekly downloads. As such, fp-ts-iterable popularity was classified as not popular.
We found that fp-ts-iterable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.