Core library of "onion versioning".

Joeri Exelmans 392dae98f7 Rename package 1 년 전
src b0614e208f Cleanup repo 1 년 전
.gitignore 196218cdfb Create fork/package containing only library (no frontend) 1 년 전
README.md b0614e208f Cleanup repo 1 년 전
package.json 392dae98f7 Rename package 1 년 전
pnpm-lock.yaml 196218cdfb Create fork/package containing only library (no frontend) 1 년 전
todo.txt 2e0c8ff23e Merge branch 'master' into rewrite-core 1 년 전
tsconfig.json ced35fc17d Downgrade ts-node to fix mocha tests (no time to figure it out) 2 년 전

README.md

Onion Core Library

Defines:

  • Primitive delta types, their dependency and conflict relations.
  • (nestable) Transactions of deltas.
  • A "DeltaRegistry" that assigns content-based IDs to deltas, and reuses them.
  • A mutable "GraphState" class, for executing deltas.
  • A "Version" class, for graph embedding, branching and merging.

Currently depends on these NodeJS polyfills for browser: 'buffer', 'crypto' and 'stream'. This is only to compute hashes by means of synchronous function call (Web Crypto API only supports async).