value-graph 0.1.0: JSON-free, bigint-free binary snapshot layer
- src/snapshot.js: compact portable wire (VGST store / VGGP graph), binary maps for params/pattern/objects (no JSON), buffer values (no JS bigint), CRC-32 guarded. - createFileStore: binary per-key files (encodeEntryBytes/decodeEntryBytes). - ValueGraph snapshot/snapshotFile/restore/loadFile; keys base64url(params-bytes). - 60 tests (node:test + rigor incl. 'flip ANY byte never decodes silently').
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "@arbiter/value-graph",
|
||||
"version": "0.1.0",
|
||||
"description": "Lazy, TTL-cached, version-invalidated store of derived values — the second graph for measures and ARRA value lookups. ARRA (or any value source) registers compute functions; policies read fresh values through measures.",
|
||||
"license": "ISC",
|
||||
"type": "module",
|
||||
"main": "src/index.js",
|
||||
"exports": {
|
||||
".": "./src/index.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"src/"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "node --test --test-force-exit \"test/**/*.test.js\"",
|
||||
"test:rigor": "node --test --test-force-exit \"test/value-graph.rigor.test.js\"",
|
||||
"bench": "node bench/hotpath.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@push-stream-std/push-pushable": "*",
|
||||
"@push-stream-std/push-stream-base": "*",
|
||||
"@rigor/probe": "^0.0.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rigor/core": "^3.1.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user