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

@lo-ink/developer-tools

v0.3.6

Published

Project validation and development tools for LO applications

Readme

LO developer tools

Tools and documentation for building applications for LO.

Validate application metadata

With this package installed, run:

lo doctor ./lo.app.json
lo doctor ./lo.app.json --publish
lo doctor ./lo.app.json --json

The command checks draft metadata by default. --publish also requires the stored profile fields the server checks before publication: an app avatar URL, a non-empty description, and a terms URL. The server additionally requires a stored app key and, when configured, a still-valid bot association. This local command cannot inspect those server-owned conditions. It does not publish an application, verify URL availability, grant permissions, validate an uploaded avatar reference, or replace server validation. Exit codes: 0 valid metadata, 1 invalid or unreadable manifest, 2 command usage error.

{
  "schemaVersion": 1,
  "name": "Garden",
  "description": "Track plant care.",
  "entryUrl": "https://example.com/app",
  "iconUrl": "https://example.com/icon.png",
  "termsUrl": "https://example.com/terms"
}

This is the local tooling manifest, not an RPC request or proof of registration. Registration identifiers and credentials belong to the deployment configuration. Drafts require name and entryUrl; description, iconUrl, termsUrl, and privacyUrl may be empty or omitted until publication. Names are limited to 64 Unicode code points and descriptions to 512. URLs are trimmed, limited to 2048 UTF-8 bytes, and must be absolute HTTPS URLs with a hostname and no credentials or fragment.

The deployment mapping is direct: entryUrl becomes MiniAppSettings.url, while iconUrl, termsUrl, and privacyUrl become their snake-case RPC fields. Omitted description and iconUrl map to empty draft values. On create, omitted legal URLs default to empty; on update, omission preserves a legal URL and an explicit empty string clears it. schemaVersion and capabilities are tooling-only fields and are not sent to the management RPC. The server can alternatively resolve an uploaded avatar from trusted icon_file_id and icon_host values; this local manifest deliberately cannot assert upload ownership, so --publish checks a resolved iconUrl.

Optional capabilities declares distinct names; runtime availability is still negotiated with the host. Applications can reuse the validator without invoking the CLI:

import { validateManifest } from "@lo-ink/developer-tools";

const issues = validateManifest(value, { publication: true });

Repositories

| Repository | Responsibility | | ---------------------------------------------------------------------- | --------------------------------------- | | lo-miniapp-sdk | Application API, protocol and lifecycle | | lo-ui | Design tokens and web UI | | lo-platform-adapters | Host integrations and compatibility | | lo-bot-sdk | Server-side bot clients | | lo-developer-tools | Tooling, documentation and templates |

Package source, registry publication and released-host support are separate states. Check the package version and required runtime capabilities before upgrading consumers.

Development

npm ci
npm run check
npm test
npm pack --dry-run

See architecture for package boundaries and migration for application upgrades.

Application guides: build a native LO Mini App and build a native LO bot.

New LO applications import the native SDK factories directly; no additional LO adapter is required.

Mini-app and bot guides

Quality checks

Run make install and make ci with Node.js 22.13 or newer. The same targets run in GitHub Actions. CI checks formatting, ESLint (including typed promises), TypeScript, dependency cycles and package boundaries, tests, published package contents, vulnerable dependencies and secrets. English documentation and comments are enforced; unfinished development notes and retired repository URLs fail CI.

Coverage includes unimported production files and fails below 85% lines and statements, 80% functions, or 75% branches. Reports are uploaded as CI artifacts.

Repository policy checks require Python 3 for Python comment tokenization. YAML comments are parsed as YAML; embedded scripts and localized scalar values retain their own language. LO credentials are checked by the root Gitleaks configuration and a synthetic scanner regression before each repository scan.