
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
bruker-data-test
Advanced tools
$ npm i bruker-data-test
Provide zipped and coffee DataTestApi instance (from data-test-api package).
See https://github.com/cheminfo/data-test-api
import { zipped } from 'bruker-data-test';
const files = await zipped.files(); // list of zip file names
const name = 'aspirin-1h.zip';
const aspirin = zipped.find((entry) => entry.name === name);
//or
const aspirin = await zipped.findFile(name); // get a file by name
// Get the file buffer
const buffer = await aspirin.buffer();
// or
const buffer = await zipped.findData(name);
// get the file as a Stream
const stream = aspirin.stream();
// get buffer for cyclosporin_1h.zip
const cyclosporin1hBuffer = await zipped.getData(
'cyclosporin/cyclosporin_1h.zip',
);
Get the root path of uncompressed bruker experiments files
import { coffee } from 'bruker-data-test';
import { FileCollection } from 'file-collection';
const cofeeRoot = coffee.root;
const fileCollection = await FileCollection.fromPath(cofeeRoot);
% tree data/zipped -L 2 data/flat/coffee
data/zipped
├── aspirin-1h-processed.zip
├── aspirin-1h.zip
├── cyclosporin
│ ├── cyclosporin_1h.zip
│ ├── cyclosporin_cosy.zip
│ ├── cyclosporin_hmbc.zip
│ ├── cyclosporin_hsqc.zip
│ └── inversionRecovery2D.zip
├── naphtoicAcid-1h.zip
├── nonUniformSampling
│ ├── cosy-nus.zip
│ └── hsqc-nus.zip
├── strychnine-1h.zip
└── t1rho-1H.zip
data/flat/coffee
├── UV1009_M1-1003-1002_6268712_73uEjPg4XR
│ ├── 10
│ ├── 20
│ ├── 21
│ ├── 22
│ ├── 23
│ ├── 98888
│ └── 99999
└── UV1010_M1-1003-1002_6268756_ErISKLIoeB
├── 10
├── 11
├── 12
├── 13
├── 98888
└── 99999
NB: Each of subfolders in data/flat/coffee includes a pdata folder, acqu and acqus files.
And can include other files like fid, audita.txt, etc.
FAQs
Provides bruker NMR data files for testing purposes
The npm package bruker-data-test receives a total of 85 weekly downloads. As such, bruker-data-test popularity was classified as not popular.
We found that bruker-data-test demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.