npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

lilo-trace

v1.0.2

Published

**LiloTrace** is a smart SDK designed for optician software. It integrates with hardware tracing machines to pull OMA files and communicates with the [LiloConnect API](https://www.liloconnect.com) to generate a wide range of SVG visualizations, including

Readme

LiloTrace SDK

LiloTrace is a smart SDK designed for optician software. It integrates with hardware tracing machines to pull OMA files and communicates with the LiloConnect API to generate a wide range of SVG visualizations, including technical and stylized lenses.

This SDK comes with multiple examples demonstrating integration with both Clubmaster-Tracer and Lilo-API.

👉 For full API integration documentation, visit: https://www.liloconnect.com:55003/api/doc

👉 This control panel is used to operate your Clubmaster-Tracer installable module.


🚀 Features

  • 🧠 Smart SDK for Opticians
  • 🔌 Machine Integration with OMA-compatible tracers
  • 🖼️ SVG Visualization of lens shapes, both technical and styled
  • ⚙️ Configurable Tracing Gateway with support for many devices
  • 🌐 WebSocket Communication with the LiloTrace daemon
  • 🎛️ AlpineJS Control Panel for real-time monitoring
  • 📦 Supports serial, TCP/IP, USB and file input

🔧 Technologies Used

  • JavaScript (ES6+)
  • Alpine.js
  • WebSocket
  • Bootstrap (optional)
  • Node.js backend (LiloTrace server)

📁 Project Structure

📦 lilotrace
├── src/
│   ├── main.js                # Initializes WebSocket and UI
│   ├── LiloWebSocketManager.js # Core integration layer
│   ├── LiloLogger.js          # Custom debug logger
├── index.html                # Control panel and demo UI
├── README.md

🧩 Core Modules

LiloWebSocketManager

Manages all WebSocket logic for communicating with the LiloTrace backend:

  • Handles connection/reconnection
  • Sends config updates
  • Requests traces and demo data
  • Transforms OMA to SVG/JSON
  • Provides visual themes and rendering logic

LiloLogger

Custom console logger with log levels and formatting.

index.html

Demo UI for controlling trace operations and rendering lens shapes with a full dashboard.


🖥️ UI Overview

The Alpine.js-based dashboard includes:

  • Trace Controls: Start, stop, resend, normalize, get JSON
  • License Management
  • Live SVG Visualization
  • System Status Panel
  • Configuration (Serial + Gateway settings)
  • Configurator Tool for prescription simulation
  • Showcase of themed frames

🔌 Supported Tracers

Out-of-the-box support for many industry-standard tracers including:

  • Nidek
  • Hoya
  • Essilor
  • WECO
  • Takubomatic
  • Briot
  • National Optronics

And more via the Gateway mode with flexible protocol, baudrate, and connection settings.


📦 Installation

Clone the repository:

git clone https://github.com/your-org/lilotrace.git
cd lilotrace

Install dependencies (if applicable):

npm install

Run the control panel (if using a local server):

npm run dev

🔗 LiloConnect API

Used to transform OMA base64 data into:

  • SVG visualization (/api/oma/svg)
  • Technical JSON format (/api/oma/json)
  • Demo traces (/api/oma/demo)

Example: Get SVG

const svg = await liloWebsocket.getOmaSvg({
  oma: { base64 },
  dimension: { width: 1000 },
  type: 'technical',
  theme: liloWebsocket.getTheme('blue')
});

✅ License Activation

License is required to use advanced features.

  • Add your key via the UI or use updateLicense(key) method

💡 Use Cases

  • Smart optician software
  • Visualizing and simulating lenses
  • Digital trace integration into POS or ERP systems
  • Lens thickness estimations
  • Configurable client-side product previews

🪪 License

This project is licensed under the MIT License. See the LICENSE file for details.


🧪 Want to contribute?

Pull requests welcome. Please open an issue before large changes to align on vision.


📬 Contact

For commercial support, integration help, or licensing: