Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@laser-dac/ilda-reader

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@laser-dac/ilda-reader

Read ILDA (.ild) files as JSON data

latest
Source
npmnpm
Version
0.3.3
Version published
Maintainers
2
Created
Source

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);

Keywords

laser

FAQs

Package last updated on 13 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts