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/adapter-lo

v0.24.3

Published

Compatibility exports for native LO transport in Mini App SDK

Readme

@lo-ink/adapter-lo

Compatibility exports for the native @lo-ink/miniapp-sdk transport, supporting SDK ^0.22.2 || ^0.23.0. New LO applications use the SDK directly:

import { createLoClient } from "@lo-ink/miniapp-sdk";
const client = createLoClient();
if (!client) throw new Error("A supported LO host is required");

Existing createAdapter, detectAdapter and createNativeAdapter imports are SDK aliases; native types remain exported. This package has no separate decoder or request state. See the Mini App SDK for operations, snapshots, lifecycle and appearance bindings.

Discovery uses only LO.MiniAppNative and returns null for an absent or invalid port. Capabilities intersect SDK operations with advertised host features; unknown features are ignored. Package versions do not prove support on an installed LO client. Story/swipe controls require the corresponding host rollout, and invoices are not advertised. Native failures never trigger a WebApp fallback.

Launch data is untrusted. Verify its exact bytes on your backend before trusting identity or permissions. launchUnsafe() is display-only. A native NO_BOT maps to the SDK's NoBot; older hosts may return only false.

With liveSnapshot: true, the host updates its snapshot before dispatching an event; the validated current snapshot remains authoritative after a gap in subscriptions. Older ports retain a launch snapshot, so received event values take precedence there.

Native requests have a maximum 60-second deadline; a shorter caller timeout takes precedence. Cancellation cannot undo a completed native action. Hidden-host UI interruptions (ABORTED) map to aborted, and unavailable operations (NOT_AVAILABLE) map to failed.