UNPKG
@gmod/cram
Version:
latest (8.4.0)
8.4.0
8.3.1
8.3.0
8.2.6
8.2.5
8.2.4
8.2.3
8.2.1
8.0.5
8.0.4
8.0.3
8.0.2
8.0.1
8.0.0
7.0.3
7.0.2
7.0.1
7.0.0
6.0.1
6.0.0
5.1.0
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.1
4.0.0
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
read CRAM files with pure Javascript
github.com/GMOD/cram-js
GMOD/cram-js
@gmod/cram
/
src
/
unzip.ts
6 lines
(4 loc)
•
159 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ zlib_uncompress }
from
'./htscodecs-wasm.ts'
export
async
function
unzip
(
input:
Uint8Array
):
Promise
<
Uint8Array
> {
return
zlib_uncompress
(input) }