231 packages
@f/add-class
Add a class to an element
@f/almost-equal
Check if two numbers are almost equal
@f/animate
Animate properties using requestAnimationFrame and a custom render function
@f/apply
Create a function that memoizes the result of a `fn`.
@f/apply-classes
Apply classes to an element from an object map
@f/apply-styles
Apply a style object to a DOM node
@f/array-equal
Check if two arrays have shallow equality
@f/array-to-promise
Convert array to a promise.
@f/as-array
Ensure a value is an array. If it's a scalar, return ne.
@f/assign
Assign properties from source to target.
@f/bind-middleware
Bind middleware to a context and optionally a next function..
@f/border-styles
CSS Border styles
@f/brackets
Bracket notation for form input names
@f/can-select-text
Check if an element can contain selectable text
@f/capitalize
Capitalize a string
@f/changed-keys
Returns the list of keys that changed between two values
@f/changed-paths
Compute the deep paths that have changed between two, presumed immutable, objects
@f/channel
Simple CSP channel implemented with promises.
@f/channels
Minimal CSP channels.
@f/clamp
Clamp a number between two values
@f/clone-date
Clone a date object
@f/clone-obj
Shallow clone an object
@f/clone-shallow
Create a shallow clone of an object or array
@f/color-names
Map of color names to RGBA values
@f/combine-reducers
Combines an object of reducers