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

bruker-data-test

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bruker-data-test - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

data/flat/coffee/UV1009_M1-1003-1002_6268712_73uEjPg4XR/10/acqu

14

CHANGELOG.md

@@ -0,1 +1,14 @@

# Changelog
## [0.2.0](https://www.github.com/cheminfo/bruker-data-test/compare/v0.1.0...v0.2.0) (2022-02-26)
### ⚠ BREAKING CHANGES
* returns FileList
### Code Refactoring
* returns FileList ([bb94782](https://www.github.com/cheminfo/bruker-data-test/commit/bb9478262aa3513b64b661ddb2f2697ad86463e6))
## 0.1.0 (2021-03-18)

@@ -13,2 +26,1 @@

* **index:** read files as base64 and add gitignore ([22b5180](https://github.com/cheminfo/bruker-data-test/commit/22b5180744f2d0ebff91dd996204039606efb657))

58

package.json
{
"name": "bruker-data-test",
"version": "0.1.0",
"description": "provides zipped bruker NMR data files for testing purposes",
"keywords": [
"magnetic resonance",
"nmr",
"bruker",
"dataset"
],
"main": "index.js",
"version": "0.2.0",
"description": "Provides bruker NMR data files for testing purposes",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
"types": "./lib/index.d.ts",
"keywords": [],
"author": "Luc Patiny",
"license": "MIT",
"files": [
"toc.json",
"data/*"
"src",
"lib",
"lib-esm",
"data"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0"
"check-types": "tsc --noEmit",
"clean": "rimraf lib lib-esm",
"eslint": "eslint src --cache",
"eslint-fix": "npm run eslint -- --fix",
"prepack": "npm run tsc",
"prettier": "prettier --check src",
"prettier-write": "prettier --write src",
"test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types",
"test-only": "jest --coverage",
"tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
"tsc-cjs": "tsc --project tsconfig.cjs.json",
"tsc-esm": "tsc --project tsconfig.esm.json"
},
"author": "jobo322",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cheminfo/bruker-data-test.git"
},
"bugs": {
"url": "https://github.com/cheminfo/bruker-data-test/issues"
},
"homepage": "https://github.com/cheminfo/bruker-data-test#readme",
"devDependencies": {
"@types/jest": "^27.4.1",
"eslint": "^8.9.0",
"eslint-config-cheminfo-typescript": "^10.3.0",
"jest": "^27.5.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"dependencies": {
"recursive-readdir-synchronous": "0.0.4"
"filelist-from": "^0.1.0"
}
}
# bruker-data-test
provides zipped Bruker NMR data files for testing purposes.
[![NPM version][npm-image]][npm-url]
[![build status][ci-image]][ci-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
## usage
.
## Installation
`$ npm i bruker-data-test`
Provide FileList of bruker files zipped or unzipped
## Usage
```js
import { bruker } from 'bruker-data-test';
console.log(Ohject.keys(bruker)); // to get a list
console.log(bruker['aspirin-1h-zip']); // to get a string with proton data
import { getZipped, getCoffee } from 'bruker-data-test';
const zipped = getZipped();
const aspirin = zipped.filter((entry) => entry.name.includes('aspirin'))[0];
const data = await aspirin.arrayBuffer();
```
## License
[MIT](./LICENSE)
[npm-image]: https://img.shields.io/npm/v/bruker-data-test.svg
[npm-url]: https://www.npmjs.com/package/bruker-data-test
[ci-image]: https://github.com/cheminfo/bruker-data-test/workflows/Node.js%20CI/badge.svg?branch=main
[ci-url]: https://github.com/cheminfo/bruker-data-test/actions?query=workflow%3A%22Node.js+CI%22
[codecov-image]: https://img.shields.io/codecov/c/github/cheminfo/bruker-data-test.svg
[codecov-url]: https://codecov.io/gh/cheminfo/bruker-data-test
[download-image]: https://img.shields.io/npm/dm/bruker-data-test.svg
[download-url]: https://www.npmjs.com/package/bruker-data-test

Sorry, the diff of this file is not supported yet

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