arw-parser
v0.0.2
Published
Parse an ARW text file used in some scientific instrument
Downloads
4
Readme
arw-parser
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]
}
}
*/