Skip to content

Commit 13e1af6

Browse files
committed
format
1 parent a070f37 commit 13e1af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/dehex_and_decompress.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { instList } from "@/app/types";
2-
import {unzipSync} from "zlib";
2+
import { unzipSync } from "zlib";
33
/**
44
* dehex_and_decompress
55
* - synonymous to dehex_and_decompress in inst_servers
66
* @param {*} input raw data
77
* @returns dehexed and decompressed data (you can choose to JSON parse it or not afterwards)
88
*/
99
export function dehex_and_decompress(input: string): string {
10-
return unzipSync(Buffer.from(input, "hex")).toString()
10+
return unzipSync(Buffer.from(input, "hex")).toString();
1111
}
1212

1313
/**

0 commit comments

Comments
 (0)