ascent-wire
v2.2.0
Published
ASCENT wire codec (browser/Node) - frozen Cont packing, agent/MM frames, SkyPulse PATHHINT, RS(255,223) ASCENT-D lab. Pitchfork-and-Torch.
Maintainers
Readme
ascent-wire (JavaScript)
Browser / Node codec for the ASCENT wire standard (2.1.0), including SkyPulse PATHHINT.
Install
npm install ascent-wirehttps://www.npmjs.com/package/ascent-wire
From monorepo: cd packages/ascent-js && npm test
API
const { AscentCodec, AscentRS, AscentDLab } = require("ascent-wire");
const wire = AscentCodec.encodeText("Hello, Universe.\n", {
header: true,
roleName: "guide",
nonAscii: "v",
});
const events = AscentCodec.decodeStream(wire);
const hint = AscentCodec.canonicalPathhintBytes(false);
const frame = AscentDLab.encodeP9(wire);PATHHINT is LEO foresight for usable session bandwidth, not an RF Mbps
upgrade. Prefer AscentCodec.recommendIntegrity("ASCENT-E-LEO") on Starlink IP
(light CRC or short RS; no full P9 RS). next_capacity is predicted sender
bottleneck bits/s.
Sources stay in lockstep with site/public/ via npm run sync-from-site.
Golden lock
node ../../tests/run_js_lock.jsMust stay bit-identical with Python ref/ packing.
