All 20 imports
Loom is one package. What you write at the top of a file is one of 20 imports, and which one you write decides what your program loads — so they are worth two minutes before you pick.
Every name behind them is read from the package itself rather than written here, which is why the counts below are exact: 20 imports, 2,237 names, and a page for each import saying what comes out of it.
If you are building a page
Almost every application writes these and nothing else. The first is the tree and the change model; the second renders one; the third is the library of primitives every example on this site is built from.
- @jam-overture/loom609 names
The tree, the delta, the ids, the builders, the Gate and the pipeline. Start here.
Named on 20 written pages.
- @jam-overture/loom/react127 names
Rendering: a tree to React elements, theme mounting, addressing, render diagnostics.
Named on 12 written pages.
- @jam-overture/loom-primitives78 names
The starter library — the primitives every example on this site is built from. Its own package, installed beside the framework.
Named on 5 written pages.
The starter library's seventy-two bands under their own names, for assembling a page without going through the catalog.
Named on 1 written page.
If you are hosting Loom
The parts an application needs once real people are proposing changes to it: where trees are kept, who is allowed to change them, what a model is asked, and what is written down afterwards.
- @jam-overture/loom/anthropic2 names
The model seam: an interpreter that turns a sentence into a proposal. Optional.
Named on 1 written page.
The model seam for a server that speaks the OpenAI-compatible chat API, such as vLLM or Ollama. Optional.
Named on 1 written page.
- @jam-overture/loom/addressed6 names
The four names a render writes on a published page, and the function that finds the page. Loads nothing, for a browser bundle.
Named on 1 written page.
- @jam-overture/loom/sdk75 names
Defining and registering primitives of your own, and the catalog a model is shown.
Named on 10 written pages.
- @jam-overture/loom/store148 names
Persisting trees and revisions: the store contract, and an in-memory implementation.
Named on 8 written pages.
- @jam-overture/loom/write52 names
The write path: proposing, holding, confirming and applying a change.
Named on 7 written pages.
- @jam-overture/loom/postgres29 names
The Postgres store. Same contract, a database behind it.
Named on 4 written pages.
- @jam-overture/loom/live36 names
Pulling the project's live pages from Loom and holding them in your server, so an accepted change reaches readers without a deploy.
Named on 1 written page.
- @jam-overture/loom/signals815 names
Reader signals — what a published page reports about how it is read, and the parser a receiver checks them with.
Named on 1 written page.
The reader-signal broadcaster alone, for a browser bundle — about 5 KB, with no schema library.
Named on 1 written page.
The Postgres buffer and counters, for a deployment that keeps what its readers did.
Named on 1 written page.
- @jam-overture/loom/telemetry79 names
The journal — proposal, provenance, disposition and outcome, recorded as they happen.
Named on 2 written pages.
The Postgres journal, for a deployment that keeps its telemetry.
Named on 2 written pages.
From a terminal, and from your tests
Not imported by a page. Scaffolding, inspection, and the suites your own storage has to pass.
- @jam-overture/loom/cli29 names
Scaffolding and inspection from a terminal.
Named on 1 written page.
- @jam-overture/loom/testing57 names
Fixtures and doubles: the sample trees, clocks and scripted interpreters Loom tests itself with.
Named on 2 written pages.
The suites that tell you whether your own store, hold store or journal keeps its promises.
Named on 1 written page.
No import has everything behind it
The usual shape of a package like this is a big import with the whole library behind it and some smaller ones carved out of it for convenience. Loom is not that shape, and the sizes above are where it shows: they add up to more than the package publishes, and the biggest one is still less than half of it.
- This package publishes 2,237 names in all. The widest door, @jam-overture/loom/signals, publishes 815 of them; the narrowest, @jam-overture/loom/anthropic, publishes 2.
- There are 190 pairs of imports here, and 183 of them share no name at all. A name you cannot find behind one import is not a name that does not exist — it is almost certainly behind one you have not opened.
- The 7 pairs that do overlap are these:
@jam-overture/loom-primitives/compositionsand@jam-overture/loom-primitivesshare 35 names;@jam-overture/loom/signalsand@jam-overture/loom/signals/broadcastshare 15 names;@jam-overture/loomand@jam-overture/loom/sdkshare 9 names;@jam-overture/loomand@jam-overture/loom/reactshare 5 names;@jam-overture/loom/reactand@jam-overture/loom/addressedshare 5 names;@jam-overture/loom/storeand@jam-overture/loom/liveshare 3 names; and@jam-overture/loom/signalsand@jam-overture/loom/telemetryshare 1 name. Where two doors publish one name, it is the same declaration reached two ways, so either import gives you the same thing. - One name here means two different things.
horizonOfis published by@jam-overture/loom/signalsand by@jam-overture/loom/telemetry, and the two are different functions that happen to share a name. Searching it finds both, and only the signature tells them apart. @jam-overture/loom/signals/broadcastis the one import here that is part of a bigger one: every name it publishes is behind@jam-overture/loom/signalsas well. It exists because it loads far less, which is what a browser bundle cares about.
Some of these names are spelled the British way
48 of the 2,237 names in this package carry a British spelling: catalogueOf, Behaviour, colour and navCentredBand. Type them exactly as they appear on these pages. The spelling is part of the name, so a different spelling is a different name and the package does not publish it.
The writing on this site is US English, so a page can say color in a sentence and show you a name with the British spelling in the code beside it. Both are right. The sentence is ours and the name is the package’s, and anything in code voice on this site is spelled the way you have to write it.
Looking for one particular name? The search at the top of the page indexes every export in the list above and says which import each one comes from — which is the fastest way through a package whose doors do not nest.
Not installed it yet? Installation has the one command, the peers you may also need, and this same list of imports described for somebody who has not met any of them.