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

@tamer4lynx/cli

v0.0.30

Published

A CLI tool for managing LynxJS native modules.

Downloads

207

Readme

Tamer4Lynx

CLI and npm packages (@tamer4lynx/*) for Lynx: routing, native UI, platform APIs, iOS/Android hosts. Aligned with the Lynx Autolink RFC.

Docs: tamer4lynx.github.io (or cd packages/docs && bun run dev)

Install

npm i -g @tamer4lynx/cli@latest
# or: pnpm add -g @tamer4lynx/cli@latest | bun add -g @tamer4lynx/cli@latest

Quick start

t4l init              # create/detect Lynx app, install selected Tamer packages, write config
t4l create ios        # scaffold iOS project
t4l create android    # scaffold Android project
t4l link              # wire native modules
t4l start             # dev server + QR, auto-falls forward if the port is busy
t4l build ios -d -i   # debug build → simulator
t4l build android -d -i

Running from this repo (development)

bun install
bun run build         # outputs dist/index.js
node dist/index.js init
# or without build:
bun run cli -- init   # uses tsx directly

Commands

t4l init [--yes] [--template rspeedy|vue-lynx] [--dir <path>] [--install core|dev|none] [--pm npm|pnpm|bun]
                                Bootstrap/configure a Lynx + Tamer project
t4l create ios|android|module|element|service|combo
t4l build <ios|android> [-d|-r|-p] [-i] [--ipa] [--embeddable]
t4l link [ios|android]          Wire native modules (runs pod install on iOS)
t4l bundle [ios|android]        Build Lynx bundle and copy to native project
t4l inject ios|android [-f]     Inject tamer-host templates
t4l sync [android|ios|both]     Sync dev client files (default: android)
t4l build-dev-app [--platform android|ios|all] [--install]
                                Build the Tamer Dev App; --install deploys after build
t4l start [-v]                  Dev server with HMR; tries the next port when busy
t4l add [packages...]           Add @tamer4lynx packages
t4l add-core                    Production stack: host, navigation, plugin, router,
                                app-shell, screen, insets, system-ui, icons, transports, env
t4l add-dev                     Dev stack: add-core + dev-client, linking
t4l update                      Update all @tamer4lynx/* to the default installable npm versions
t4l signing [ios|android]       Configure signing (interactive)
t4l autolink-toggle             Toggle postinstall autolink in tamer.config.json
t4l codegen                     Generate code from @lynxmodule declarations

Build flags: -d debug (dev client included if tamer-dev-client installed), -r release (no dev client, unsigned), -p production (signed). -i installs after build: simulator with -d, physical device with -p. --ipa exports IPA after -p build on iOS. --embeddable outputs embeddable artifacts (Android only).

Platform-first form: t4l ios create, t4l android build -d -i, etc.

Init defaults: t4l init --yes uses Rspeedy React TypeScript + Biome, derives the app name from the root folder, defaults the native id to com.<project_name>, installs core Tamer packages, injects pluginTamer() into lynx.config.* when possible, and reuses the Android app name/package ID for iOS unless you choose to customize iOS.

Nested apps: when the Lynx app is nested, t4l init writes lynxProject, creates or merges a root workspace, and installs from the root so there is one node_modules.

Assets: import assets the normal Rspeedy way (import img from './img.png', CSS url(), ?url, ?inline). pluginTamer() emits dist/tamer-assets.json, and t4l bundle / t4l build copies the full dist tree into Android and iOS hosts so embedded apps can resolve static/... offline. @tamer4lynx/tamer-plugin/assets provides an optional Asset.fromModule(importedImage).uri shim; the native loading is provided by tamer-host, tamer-dev-client, tamer-dev-app, and generated host templates.

Configuration files

| File | Purpose | |------|---------| | tamer.config.json | Host app — Android/iOS identity, paths, dev server. Created by t4l init. | | tamer.config.ts | Rsbuild plugins (tamer-router, tamer-env, etc.). Used by tamer-plugin. | | lynx.ext.json | Per-extension native module registration. Follows the Lynx Autolink RFC. |

Packages

Install with t4l add <name> or t4l add-core / t4l add-dev. Always run t4l link after adding packages.

Core

| Package | Description | |---------|-------------| | @tamer4lynx/tamer-host | Host templates for iOS/Android — auto-installed by t4l create | | @tamer4lynx/tamer-navigation | Native stack transport (TamerNav push/pop/dispatch) | | @tamer4lynx/tamer-plugin | Rsbuild plugin that loads and merges tamer.config | | @tamer4lynx/tamer-router | File-based routing, Stack/Tabs, useBackHandler, cross-spoke state bridge | | @tamer4lynx/tamer-app-shell | AppBar, TabBar, Content navigation chrome | | @tamer4lynx/tamer-dev-client | Dev launcher (QR scan, mDNS discovery, HMR, compatibility check) |

UI

| Package | Description | |---------|-------------| | @tamer4lynx/tamer-screen | Screen, SafeArea, AvoidKeyboard | | @tamer4lynx/tamer-insets | Safe area insets and keyboard state | | @tamer4lynx/tamer-system-ui | Status bar, nav bar, theme colors | | @tamer4lynx/tamer-icons | Native <icon> element (Material Icons, Font Awesome) |

Platform

| Package | Description | |---------|-------------| | @tamer4lynx/tamer-transports | Fetch, WebSocket, EventSource polyfills | | @tamer4lynx/tamer-local-storage | Web localStorage API | | @tamer4lynx/tamer-auth | OAuth 2.0 / PKCE | | @tamer4lynx/tamer-secure-store | Secure key-value storage | | @tamer4lynx/tamer-biometric | Biometric authentication | | @tamer4lynx/tamer-linking | Deep linking | | @tamer4lynx/tamer-display-browser | In-app browser for OAuth | | @tamer4lynx/tamer-webview | Native WebView | | @tamer4lynx/jiggle | Vibration/haptic |

Tooling

| Package | Description | |---------|-------------| | @tamer4lynx/tamer-env | .env loading and process.env injection for Rspeedy | | @tamer4lynx/tamer-ambient-types | Generated component type declarations (.tamer/) |

Limitations

  • tamer-router targets @lynx-js/react (Stack, Tabs, react-router). Other bindings (VueLynx, miso-lynx) can use native modules and tooling but not the router.
  • tamer-transports polyfills are not fully tested across all hosts. Report issues.
  • t4l add does not yet track installed version compatibility (Expo-style). Planned.
  • iOS builds require macOS and Xcode.

Contributing

git clone https://github.com/tamer4lynx/tamer4lynx.git
cd tamer4lynx
bun install

Issues and PRs welcome.