1
0
Fork
You've already forked OLID.ts
0
forked from basil/OLID.ts
OneLoaderImageDelta implemented in TypeScript
  • TypeScript 93%
  • HTML 7%
leyley 911d8d9ae3 Return comparison in U8
- U8 compares data properly for skipping over patches
- Significantly smaller patch sizes (as it fixes comparison check)
2024年12月14日 07:28:03 +00:00
src Return comparison in U8 2024年12月14日 07:28:03 +00:00
.gitignore Initial commit 2023年11月24日 16:00:58 -07:00
index.html Update index.html 2023年11月25日 15:45:47 -07:00
LICENSE Initial commit 2023年11月24日 16:00:58 -07:00
package.json Added diff generator (1.0.0) 2023年11月25日 15:44:54 -07:00
pnpm-lock.yaml Added diff generator (1.0.0) 2023年11月25日 15:44:54 -07:00
README.md Added diff generator (1.0.0) 2023年11月25日 15:44:54 -07:00
tsconfig.json Initial commit 2023年11月24日 16:00:58 -07:00
vite.config.ts Added diff generator (1.0.0) 2023年11月25日 15:44:54 -07:00

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';