The fixi project is collection of small web libraries, each one being a lightweight take on something else we've built.
Each library is constrained to an unminified, uncompressed source size that is smaller than (the excellent) Preact library's .min.gz'd size (~4.7kb).
The libraries are:
fixi
(3.4kb raw, 1.2kb brotli) inspired by
htmx, supercharges your HTMLmoxi
(4.6kb raw, 1.8kb brotli) inspired by
hyperscript, provides
inline scripting and DOM-based reactivityssexi
(4.1kb raw, 1.4kb brotli) inspired by
htmx's SSE extension, provides
streaming HTML & events for fixi.jspaxi
(1.5kb raw, 0.6kb brotli) inspired by
idiomorph, provides DOM patching/morphing and a
morph swap for fixi.jsrexi
(4.3kb raw, 1.4kb brotli) inspired by
hyperscript's fetch command, provides a set of
ergonomic fetch() wrappers to make issuing one-off HTTP requests nicer.Each library is a single standalone script. Pick whichever you need and drop it into a page:
NOTE: you will want to load moxi before fixi so its on-fx:init and
on-fx:process handlers are registered before fixi dispatches those events on page load.
All five libraries are also available pre-concatenated, minified, and brotli-compressed in a single file:
<script src="...@0.0.1/dist/the-fixi-project.min.js"></script>
copy
Or via npm:
npm install the-fixi-project
The docs for the project can be found here.