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

brukerconverter

Package Overview
Dependencies
Maintainers
0
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brukerconverter

Parse and convert Bruker raw data

  • 7.0.1
  • npm
  • Socket score

Version published
Weekly downloads
38
decreased by-78.03%
Maintainers
0
Weekly downloads
 
Created
Source

brukerconverter

It is able to extract NMR spectra from a zip file that contain the bruker folders.

Zakodium logo

Maintained by Zakodium

NPM version build status npm download DOI

Installation

Node JS

npm install brukerconverter

Use as a module

####Node JS As brukerconverter could be used to convert bruker files from a zip file by the use of fileListFromZip from filelist-utils package.

const { convertFileList } = require('brukerconverter');
const { fileListFromZip } = require('fileCollection-utils');
const { getZipped } = require('bruker-data-test');

const zipFileCollection = await getZipped();
const aspirin = zipFileCollection.find((entry) => entry.name === filename);
//expand the zip content without decompress
const fileCollection = await fileListFromZip(await aspirin.arrayBuffer());
const result = await convertFileList(fileCollection);
console.log(result);
//...{ spectra, meta, source }

It is possible to use the converter if you have a path of the bruker folder by the use of fileListFromPath from filelist-utils package.

const { getCoffee } = require('bruker-data-test');
const { convertFileList } = require('brukerconverter');

const coffeeData = await getCoffee();
const result = await convertFileList(coffeeData);
console.log(result);
//...{ spectra, meta, source }
}

API Documentation

License

MIT

Keywords

FAQs

Package last updated on 05 Jul 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