0.3.3 • Published 1 year ago
entab v0.3.3
Entab
Parse record-based file formats into a stream of records.
Usage
import { Reader } from 'entab';
// now parse the file
const reader = new Reader(new Uint8Array(await file.arrayBuffer()));
// or a string
const reader = new Reader(new TextEncoder("utf-8").encode(">test\nacgt"));
for (const record of reader) {
...
}
Note that this will require paging the entire file into memory so files that take >10 Mb may be slow and files >100 Mb may not work at all.
Development
Build with wasm-pack build
.
Test with wasm-pack test
.
0.3.2
1 year ago
0.3.3
1 year ago
0.3.1
3 years ago
0.3.0
3 years ago
0.3.0-beta.2
3 years ago
0.3.0-beta.1
3 years ago
0.3.0-alpha.2
3 years ago
0.3.0-alpha.1
3 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago