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

brukerconverter

Package Overview
Dependencies
Maintainers
6
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

  • 4.1.1
  • npm
  • Socket score

Version published
Weekly downloads
165
decreased by-51.47%
Maintainers
6
Weekly downloads
 
Created
Source

#brukerconverter

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

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('fileList-utils');
const { getZipped } = require('bruker-data-test');

async function asyncCall(zip) {
  const fileList = await fileListFromZip(zip);
  const result = await convertFileList(fileList);
  console.log(result);
  //...{ spectra, meta, source }
}

asyncCall(getZipped());

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 { fileListFromPath } = require('filelist-utils');

async function asyncCall(path) {
  const fileList = await fileListFromPath(path);
  const result = await convertFileList(fileList);
  console.log(result);
  //...{ spectra, meta, source }
}

asyncCall(getCoffee());
//...{ spectra, meta, source }

API Documentation

Keywords

FAQs

Package last updated on 22 Jul 2022

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