arw-parser

0.0.2 • Public • Published

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

API Documentation

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

Readme

Keywords

none

Package Sidebar

Install

npm i arw-parser

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

120 kB

Total Files

8

Last publish

Collaborators

  • targos
  • lpatiny
  • cheminfo-bot
  • stropitek