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

@aglyn/plugins-logic

v1.0.0-beta.200

Published

The Logic plugin for Aglyn: the console surface for a site's variables and no-code functions, and the audit that finds references pointing at something that no longer exists. Install it if you run the Aglyn console and want that section; it is a first-par

Readme

@aglyn/plugins-logic

The Logic plugin for Aglyn: the console surface for a site's variables and no-code functions, and the audit that finds references pointing at something that no longer exists. Install it if you run the Aglyn console and want that section; it is a first-party plugin, not a standalone library.

Beta. Published from the Aglyn monorepo under the beta dist-tag; APIs can change between beta releases.

Install

npm install @aglyn/plugins-logic@beta

Peer dependencies: react, @mui/material, firebase.

What's in it

The plugin is console-only. Variables and functions resolve when a page renders, through the tenant runtime's compose pipeline, so the plugin adds no element to a published site and registers no API route.

Console (registerLogicConsole, the console registrar in plugins.config.json):

  • A Logic nav item at /logic, whose page is headed "Functions & Variables". The page is code-split and loads when opened.
  • Two widgets in the besignerFunctions slot, the variables card and the functions card, which the Besigner's functions drawer draws.
  • A widget in the workflowUsage slot: the "where used" dialog, drawn in the zone the Automation page hosts for one workflow's dependents.

Exports from .

  • registerLogicConsole and BUNDLE_ID ('logic').
  • HostVariablesCard, HostFunctionsCard and their props types, for an app that opens the cards itself.
  • auditHostReferences with ReferenceIssue, ReferenceAuditInput and ScreenAuditEntry: a pure check of every reference an action, workflow, computed variable or screen holds against the ids and names that still exist.
  • parseParameterOptions and formatParameterOptions: a function parameter's choice list as one line of text. The grammar itself lives in @aglyn/aglyn; these are the function builder's names for it.

Usage

The plugin is loaded through Aglyn's plugin manager: the console's generated loader manifest imports the package and calls the registrar named in plugins.config.json. An app that wires plugins by hand calls it once at startup:

import { registerLogicConsole } from '@aglyn/plugins-logic'

registerLogicConsole()

The audit is usable on its own:

import { auditHostReferences, type ReferenceIssue } from '@aglyn/plugins-logic'

How it fits

A plugin package (scope:plugin). It depends on the core (@aglyn/aglyn), the tenant client hooks (@aglyn/tenant-feature-instance) and generic @aglyn/shared-* packages. It imports no other plugin: what it shares with the workflows plugin goes through a core seam and a console zone. The core never imports it; the console reaches it only through the loader manifest and the slots it fills.

License

Apache-2.0. Source: https://github.com/aglyn/aglyn/tree/main/libs/plugins/logic