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

@sigx/lynx

v0.35.0

Published

sigx-lynx framework

Readme

@sigx/lynx

SignalX for Lynx lets you build native iOS and Android apps with SignalX's signal/effect reactivity model on top of ByteDance's Lynx runtime — with cross-thread gestures and animations that run on the device's main UI thread.

@sigx/lynx is the package you import from in app code. It bundles @sigx/reactivity (state), @sigx/runtime-core (components, lifecycle), and @sigx/lynx-runtime (the dual-thread renderer) behind one import path, so app code says import { signal, component, useSharedValue } from '@sigx/lynx' and nothing else.

📚 Documentation

Full guides, the complete module catalog, API reference and live examples → sigx.dev/lynx

Why it's interesting

  • Native, not WebView. Real UIView / View trees. Video maps to AVPlayer / ExoPlayer, maps to MKMapView / Google Maps, gestures hit the actual touch system — no DOM wrapper, no JS bridge in the hot path.
  • Zero-config native modules. pnpm add @sigx/lynx-camera → sigx prebuild → done. The autolinker wires Podfile, Gradle, Info.plist, AndroidManifest.xml, and the native module registry from each package's signalx-module.json.
  • Main-thread gestures & animations. Press, drag, swipe, scroll offsets, and spring + tween animations all run on Lepus (the platform's main thread), so your finger tracks at the display's refresh rate even when JS is busy.
  • SharedValue — cross-thread state for free. Mutate from a 'main thread' worklet; read reactively from a SignalX effect on the background thread. Powers gestures, scroll, animation, and any custom "fast state lives on MT" use case.
  • fetch is just there. Importing @sigx/lynx installs a global WHATWG fetch backed by native URLSession / OkHttp, plus a built-in leveled, namespaced logger that streams to the sigx dev terminal.
  • A real native-module catalog. Camera, audio, video, maps, webview, biometric, secure storage, file system, location, notifications, share, clipboard, haptics, image picker, websocket, and more — all auto-linked.

Quick start

npm create @sigx@latest my-app
# pick: lynx (or lynx-tailwind)
cd my-app
pnpm install
pnpm dev

Then in another terminal:

pnpm run:ios       # or run:android

A minimal component:

// src/App.tsx
import { component, signal } from '@sigx/lynx';

const App = component(() => {
    const count = signal(0);
    return () => (
        <view>
            <text>count = {count.value}</text>
            <view bindtap={() => { count.value++; }}>
                <text>tap me</text>
            </view>
        </view>
    );
});

export default App;

The template wires the build plugin, the CLI, and a starter app for you.

The rest of the ecosystem

This package is the framework entry point. For the full list of native modules, UI packages, gestures, animation, navigation, icons, and dev tooling — see the module catalog on sigx.dev.

Web

Supported as a build target — with one hole: the networking surface this package re-exports does not work in a browser. The framework itself contributes no native code (its signalx-module.json only marks the package for the autolink walk), so sigx run:web / sigx build:web build the same app for upstream @lynx-js/web-core: background code in a Web Worker, main-thread code in a hidden iframe, behind a host page wired to the @sigx/lynx-web-host bridge. There Platform.OS is 'web', the build-time __WEB__ / __NATIVE__ defines fold per environment, and a Foo.web.tsx sibling wins over Foo.tsx. That same file-extension swap is how each native module ships web support, so check the Web section of a module's own README before assuming it works in the browser — a module with no web shim and no handler in the page bridge isn't registered at all there.

fetch is the exception — it does not work on web. The fetch / Headers / FormData / Response re-exported here come from @sigx/lynx-http, which ships no web shim: on web the native Http module isn't registered, so its fetch() rejects with the "module not available" error. And importing @sigx/lynx runs that package's side-effect install, which replaces globalThis.fetch / Headers / FormData / Response whenever NativeModules or lynx is present — web-core's worker injects both — so a bare fetch(...) in the worker resolves to the native-backed one too, not the browser's. (@sigx/lynx-plugin's bare-fetch ProvidePlugin rewrite is deliberately Lynx-only for the mirror-image reason: on the Lynx bundle a bare fetch binds to the engine's factory parameter.) On web, route requests through a .web.ts sibling or a __WEB__ branch and don't rely on fetch from @sigx/lynx or on a bare fetch(...) — see the @sigx/lynx-http README's Web section.

License

MIT — © Andreas Ekdahl