7.0.0 • Published 13 days ago

brukerconverter v7.0.0

Weekly downloads
65
License
MIT
Repository
-
Last release
13 days ago

brukerconverter

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

NPM version build status npm download DOI

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

const zipFileCollection = await getZipped();
const aspirin = zipFileCollection.find((entry) => entry.name === filename);
//expand the zip content without decompress
const fileCollection = await fileListFromZip(await aspirin.arrayBuffer());
const result = await convertFileList(fileCollection);
console.log(result);
//...{ spectra, meta, source }

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 coffeeData = await getCoffee();
const result = await convertFileList(coffeeData);
console.log(result);
//...{ spectra, meta, source }
}

API Documentation

License

MIT

7.0.0

13 days ago

6.3.9

1 month ago

6.3.8

1 month ago

6.3.7

2 months ago

6.3.6

2 months ago

6.3.5

3 months ago

6.3.4

4 months ago

6.3.3

5 months ago

6.3.2

5 months ago

6.3.0

8 months ago

6.1.4

10 months ago

6.3.1

7 months ago

6.1.3

10 months ago

6.2.1

9 months ago

6.2.0

9 months ago

6.2.3

8 months ago

6.2.2

9 months ago

6.1.2

1 year ago

6.1.0

1 year ago

6.1.1

1 year ago

6.0.7

1 year ago

6.0.6

1 year ago

6.0.9

1 year ago

6.0.8

1 year ago

6.0.10

1 year ago

6.0.1

1 year ago

6.0.3

1 year ago

6.0.2

1 year ago

6.0.5

1 year ago

6.0.4

1 year ago

5.0.3

1 year ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

6.0.0

1 year ago

4.1.7

2 years ago

4.1.4

2 years ago

4.1.3

2 years ago

4.1.6

2 years ago

4.1.5

2 years ago

4.1.0

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

4.0.0

2 years ago

3.5.0

3 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.1.2

5 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago