0.3.3 • Published 2 years ago

@laser-dac/ilda-reader v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ILDA Reader

This package can read an ILDA file (.ild) and convert it to a JSON array of points. All ILDA formats are supported (0 to 5).

This is heavily inspired by ilda.js, but this tool only works in the browser and we wanted to be able to use it in both Nodejs and the browser.

To write a JSON array of points to an ILDA file, see its counterpart ilda-writer.

Install

npm install @laser-dac/ilda-reader

Usage

For a full example see ./test.ild and ./test.ts in the repository.

const buffer = fs.readFileSync('./test.ild');
const output = fromByteArray(new Uint8Array(buffer));

console.log(output);
0.3.3

2 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago