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

0.8.1 • Public • Published

jcamp-data-test

provides JCAMP-DX NMR data files for testing purposes.

usage

import { getData, getFile, getList } from "jcamp-data-test";
const listOfFilenames = await getList();

const filename = "Rutin_3080ug200uL_DMSOd6_qHNMR_400MHz_JDX.jdx";

const file = await getFile(filename);
const jcampString = await file.text();
const jcampBuffer = await file.arrayBuffer();
//or
const buffer = await getData(filename);

acknowledgements

The original data were found here thanks to Jonathan and Guido.

Dependencies (4)

Dev Dependencies (9)

Package Sidebar

Install

npm i jcamp-data-test

Weekly Downloads

118

Version

0.8.1

License

MIT

Unpacked Size

103 MB

Total Files

43

Last publish

Collaborators

  • lpatiny
  • cheminfo-bot
  • jwist