Skip to content

cheminfo-js/arw-parser

Repository files navigation

arw-parser

NPM version build status Test coverage David deps npm download

Parse an ARW text file used in some scientific instrument

Installation

$ npm install arw-parser

Example

const {parse} = require('arw-parser');

const data = `"Instrument:"  "XYZ"
1   2
3   4
5   6
7   8`;

const result = parse(data);
/* result ->
{
    info: {
        Instrument:'XYZ'
    },
    data: {
        x:[1,3,5,7],
        y:[2,4,6,8]
    }
}
*/

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published