jcamp-data-test
v0.8.2
Published
provides JCAMP-DX NMR data files for testing purposes
Downloads
5,111
Readme
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.