A Web Streams API TransformStream that splits an incoming text stream on the $$$$ SDF record delimiter and emits individual molfile strings.
TransformStream
$$$$
Entries shorter than 40 characters are discarded.
const stream = readStream.pipeThrough(new MolfileStream());for await (const molfile of stream) { console.log(molfile);} Copy
const stream = readStream.pipeThrough(new MolfileStream());for await (const molfile of stream) { console.log(molfile);}
Optional
Readonly
A Web Streams API
TransformStreamthat splits an incoming text stream on the$$$$SDF record delimiter and emits individual molfile strings.Entries shorter than 40 characters are discarded.
Example