js library has better organization

This commit is contained in:
Brandon Liu
2022-10-04 23:40:38 +08:00
parent 98311c1f12
commit 41b53c2c12
12 changed files with 136 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
import { Source, Header, Cache, RangeResponse, Compression } from "./v3";
import { Source, Header, Cache, RangeResponse, Compression } from "./index";
import { decompressSync } from "fflate";
export const shift = (n: number, shift: number) => {