📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

bruker-data-test

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
b

bruker-data-test

Provides bruker NMR data files for testing purposes

0.5.4
latest
70

Supply Chain Security

100

Vulnerability

80

Quality

82

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Dependencies have 2 high alerts.

Socket optimized override available

Version published
Weekly downloads
772
202.75%
Maintainers
5
Weekly downloads
 
Created
Issues
0

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

FAQs

Package last updated on 08 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts