bruker-data-test
.
Installation
$ npm i bruker-data-test
Provide FileList of bruker files zipped or unzipped
Usage
import { getList, getFile, getZipped } from 'bruker-data-test';
const listOfFilenames = await getList();
const filename = 'aspirin-1h.zip';
const zipped = getZipped();
const aspirin = zipped.find((entry) => entry.name === filename);
const buffer = await aspirin.arrayBuffer();
const zipBuffer = await getData(filename);
File list of a folder with two bruker samples
import { getCoffee } from 'bruker-data-test';
const fileList = await getCoffee();
License
MIT