01 install
Plug it in.
Watch it warm up.
One package, three runtimes. Telomere is a tiny, deterministic SDK for reading, splicing, and watching the protective caps of your chromosomes — from your laptop, an edge worker, or a Jupyter cell at 2 a.m.
~ $ npm i telomere ~ $ deno add @telomere/sdk ~ $ pip install telomere
02 api surface
A friendly genome.
Five primitives. That's the entire shape. Read a strand, splice a region, measure the cap, attach a watcher, and stream as the cell divides.
-
readStrand(genomeId)→ Strand — pull a single chromosome arm with caps attached. -
splice(strand, region, fragment)→ Strand — cut and paste; returns a new strand. -
capLength(strand)→ number — base pairs in the telomere cap. -
watch(strand, listener)→ Unsubscribe — fires every time the cap shortens. -
divide(strand)→ AsyncIter<Strand> — yields each daughter cell.
03 playground
Try it. (it bites only when wrong.)
Paste a strand, hit run, watch the cap. If your input doesn't parse, the whole console will shake — that's not a bug, that's a feature.
04 shapes