.lit Utils

Generally available as lit.utils With some exceptions, inludes lit.utils.React for convenience.

Unist utils

Various unist-util-* utilities used by .lit and some custom built, exposed for convenience under lit.utils.unist

Filesystem utils

The raw [lightning-fs] object is available as lit.lfs while the extended and customised wrapper used throughout .lit is at lit.fs

Some additional utils include lit.delete() and lit.read() these were used during testing but will likely move.

Momento

A basic [moment.js] alternative, for displaying user friendly times. See utils/momento

Other

js
return lit.utils