bruker-data-test
TypeScript icon, indicating that this package has built-in type declarations

0.5.4 • Public • Published

bruker-data-test

NPM version build status Test coverage npm download

.

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(); //list of zip file names

const filename = 'aspirin-1h.zip';
const zipped = getZipped();
const aspirin = zipped.find((entry) => entry.name === filename);
const buffer = await aspirin.arrayBuffer();
//or
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

Readme

Keywords

none

Package Sidebar

Install

npm i bruker-data-test

Weekly Downloads

136

Version

0.5.4

License

MIT

Unpacked Size

118 MB

Total Files

221

Last publish

Collaborators

  • targos
  • lpatiny
  • cheminfo-bot
  • stropitek
  • jwist