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).