JSPM

  • Created
  • Published
  • Downloads 182641
  • Score
    100M100P100Q170596F
  • License MIT

A bunch of reactive utility types and functions, for building primitives with Solid.js

Package Exports

  • @solid-primitives/utils
  • @solid-primitives/utils/fp
  • @solid-primitives/utils/setter

Readme

@solid-primitives/utils

Solid Primitives Utilities is a support and helper package for a number of primitives in our library. Please free to augment or centralize useful utilities and methods in this package for sharing.

Installation

npm install @solid-primitives/utils
# or
yarn add @solid-primitives/utils

Package Entries

Import accordingly.

import { access, promiseTimeout, MaybeAccessor } from "@solid-primitives/utils";

// between these two some function names will overlap.
import { pick, omit, filter } from "@solid-primitives/utils/fp";
import { push, filter, drop } from "@solid-primitives/utils/setter";

>>> Modules documentation <<<

Documentation auto-generated from the Typescript source files using typedoc + markdown plugin.

Changelog

Expand Changelog

0.0.100

First commit of the timer primitive.

0.0.250

Republished version with better ESM support and build tooling.

0.0.260

Added comments for util methods.

0.1.0

Add /fp and /setter export entries. Add destore and raceTimeout util. More jsdoc.

0.1.2

Updated to Solid 1.3

0.1.3

Minor upgrades.