We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a070f37 commit 13e1af6Copy full SHA for 13e1af6
app/components/dehex_and_decompress.ts
@@ -1,13 +1,13 @@
1
import { instList } from "@/app/types";
2
-import {unzipSync} from "zlib";
+import { unzipSync } from "zlib";
3
/**
4
* dehex_and_decompress
5
* - synonymous to dehex_and_decompress in inst_servers
6
* @param {*} input raw data
7
* @returns dehexed and decompressed data (you can choose to JSON parse it or not afterwards)
8
*/
9
export function dehex_and_decompress(input: string): string {
10
- return unzipSync(Buffer.from(input, "hex")).toString()
+ return unzipSync(Buffer.from(input, "hex")).toString();
11
}
12
13
0 commit comments