OneLoaderImageDelta implemented in TypeScript
| src | Return comparison in U8 | |
| .gitignore | Initial commit | |
| index.html | Update index.html | |
| LICENSE | Initial commit | |
| package.json | Added diff generator (1.0.0) | |
| pnpm-lock.yaml | Added diff generator (1.0.0) | |
| README.md | Added diff generator (1.0.0) | |
| tsconfig.json | Initial commit | |
| vite.config.ts | Added diff generator (1.0.0) | |
OLID.ts
OneLoaderImageDelta implemented in TypeScript for Tomb.
While this project has a basic frontend, it does not have a hosted instance. Instead, you can use Rph's original diff generator and applier.
Usage
Reference src/lib/lib.ts for the API and index.html for an example use-case. You only really need the applyDiffs and computeDiff functions.
You can install this package by installing from this Git repo. For example, with pnpm:
pnpm i 'git+https://codeberg.org/basil/OLID.ts.git'
Then, you can simply import the functions:
import { applyDiffs } from 'olid.ts';