Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bruker-data-test

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bruker-data-test

Provides bruker NMR data files for testing purposes

  • 0.5.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
102
decreased by-28.17%
Maintainers
5
Weekly downloads
 
Created
Source

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc