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 🙏

© 2026 – Pkg Stats / Ryan Hefner

logicart-remote

v1.0.0

Published

Send checkpoints from any app to LogicArt for real-time visualization

Readme

logigo-remote

Send checkpoints from any app to LogiGo for real-time visualization.

Installation

npm install logigo-remote

Quick Start

import { LogiGoRemote } from 'logigo-remote';

// Create a client
const logigo = new LogiGoRemote({
  serverUrl: 'https://your-logigo-app.replit.app',
  sessionName: 'My App'
});

// Send checkpoints as your code runs
await logigo.checkpoint('start', { input: userInput });
await logigo.checkpoint('processing', { step: 1, data: result });
await logigo.checkpoint('complete', { output: finalResult });

// Clean up when done
await logigo.end();

Zero-Config Quick Connect

import { LogiGoRemote } from 'logigo-remote';

// One-liner: auto-creates session, returns checkpoint function
const checkpoint = await LogiGoRemote.quickConnect('https://your-logigo-app.replit.app');

checkpoint('step-1', { x: 5 });
checkpoint('step-2', { result: 'done' });

Configuration Options

const logigo = new LogiGoRemote({
  serverUrl: 'https://your-logigo-app.replit.app',
  sessionName: 'My App',           // Display name in LogiGo
  code: 'function foo() {...}',    // Optional: source code for flowchart
  retryAttempts: 3,                // Retry failed requests
  retryDelayMs: 1000,              // Delay between retries
  batchIntervalMs: 50,             // Batch checkpoints every 50ms
  offlineQueueSize: 100            // Queue checkpoints if disconnected
});

API

new LogiGoRemote(options)

Create a new LogiGo remote client.

client.createSession(): Promise<SessionInfo>

Manually create a session (called automatically on first checkpoint).

Returns { sessionId, connectUrl } - open connectUrl in LogiGo to view checkpoints.

client.checkpoint(id, variables?, label?): Promise<void>

Send a checkpoint event.

  • id: Unique identifier for this checkpoint
  • variables: Object with current variable values
  • label: Optional human-readable label

client.end(): Promise<void>

End the session and flush any pending checkpoints.

client.getSessionId(): string | null

Get the current session ID.

client.getConnectUrl(): string | null

Get the URL to view checkpoints in LogiGo.

LogiGoRemote.quickConnect(serverUrl, sessionName?): Promise<Function>

Static helper for quick one-liner setup. Returns a checkpoint function.

Example: Express Middleware

import { LogiGoRemote } from 'logigo-remote';

const logigo = new LogiGoRemote({
  serverUrl: 'https://your-logigo-app.replit.app',
  sessionName: 'Express API'
});

app.use(async (req, res, next) => {
  await logigo.checkpoint('request', {
    method: req.method,
    path: req.path
  });
  next();
});

app.get('/api/users', async (req, res) => {
  await logigo.checkpoint('fetching-users');
  const users = await db.getUsers();
  await logigo.checkpoint('users-fetched', { count: users.length });
  res.json(users);
});

Example: React App

import { LogiGoRemote } from 'logigo-remote';

const logigo = new LogiGoRemote({
  serverUrl: 'https://your-logigo-app.replit.app',
  sessionName: 'React App'
});

function App() {
  const handleSubmit = async (data) => {
    await logigo.checkpoint('form-submit', { data });
    
    const result = await api.process(data);
    await logigo.checkpoint('processing-complete', { result });
    
    setResult(result);
  };

  return <Form onSubmit={handleSubmit} />;
}

License

MIT