Package Exports
- @solid-primitives/utils
- @solid-primitives/utils/dist/index.cjs
- @solid-primitives/utils/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@solid-primitives/utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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
*
-@solid-primitives/utils
- General utility functions and types for authoring primitives./fp
-@solid-primitives/utils/fp
- Helpers for making changes to immutable data./setter
-@solid-primitives/utils/setter
- Modified helpers from the/fp
, but optimized for usage with signal setters.
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.