National Pest Management

    @laser-dac/ilda-reader
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.3 • Public • Published

    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

    Install

    npm i @laser-dac/ilda-reader

    DownloadsWeekly Downloads

    6

    Version

    0.3.3

    License

    MIT

    Unpacked Size

    13.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • spacek33z
    • rutgerschimmel