spica

Supervisor, Coroutine, Channel, select, AtomicPromise, Cancellation, Cache, InvList, IxList, and some utils.

Usage no npm install needed!

<script type="module">
  import spica from 'https://cdn.skypack.dev/spica';
</script>

README

Spica

CI

Supervisor, Coroutine, Channel, select, AtomicPromise, Cancellation, Cache, InvList, IxList, and some utils.

Install

$ npm i spica

APIs

  • global
  • Supervisor
  • Coroutine, Coaggregator, Copropagator, Colistener, cofetch
  • Channel
  • select
  • Observer
  • AtomicPromise
  • Cancellation
  • Cache
  • HList
  • InvList
  • IxList
  • Heap
  • DataMap
  • MultiMap
  • AttrMap
  • Maybe, Just, Nothing
  • Either, Left, Right
  • Sequence
  • bundle, aggregate
  • curry
  • uncurry
  • flip
  • tuple
  • tick
  • throttle, debounce
  • uuid
  • sqid
  • assign
  • clone
  • extend
  • concat

Browsers

  • Chrome
  • Firefox
  • Edge (Chromium edition only)

Dependencies

  • unassert (in compiling source code)