sigfile

0.1.9 • Public • Published

SigFile

License Build Status PRs Welcome npm version codecov

SigFile provides MATLAB file parsing and XMIDAS Bluefile parsing in JS.

Installation

npm i sigfile

or

yarn add sigfile

Example

Extracting the header from a Bluefile

const sigfile = require('sigfile');
const fs = require('fs');
 
fs.readFile('__tests__/dat/ramp.tmp', function(err, buf) {
    const header = new sigfile.BlueHeader(buf.buffer);
    console.log(header);
});

or

import { readFile } from 'fs';
import { BlueHeader } from 'sigfile';
 
readFile('__tests__/dat/ramp.tmp', (err, buf) => {
    const header = new sigfile.BlueHeader(buf.buffer);
    console.log(header);
});

Package Sidebar

Install

npm i sigfile

Weekly Downloads

216

Version

0.1.9

License

Apache-2.0

Unpacked Size

227 kB

Total Files

9

Last publish

Collaborators

  • midnightjava
  • mihde
  • mrecachinas