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

@blotch/angular-lynx-native

v22.2.2

Published

Builds AngularLynx apps into iOS and Android binaries

Readme

@blotch/angular-lynx-native

Builds AngularLynx apps into iOS and Android binaries. You don't call it directly: ng build --platform ios|android|all (the @blotch/angular-lynx-build:application builder) loads it after building the Lynx bundle. It's a dependency of @blotch/angular-lynx-build, which ng add @blotch/angular-lynx installs.

User documentation: Publishing your App. The design and its reasoning: investigations/native-app-builds.md.

What it does

  1. Generates the native project from templates/ios or templates/android into the project's folder in Angular's build cache (.angular/cache/<Angular version>/<project>/lynx-native/<platform>, which ng new already gitignores and ng cache clean clears), writing the app options from angular.json into the few files the templates mark for it. It regenerates only when a hash of its inputs changes (this package's version, the template, the options, the icon), so Xcode and Gradle keep their incremental state.
  2. Copies dist/ (without the web bundle) into the project.
  3. Builds it with xcodebuild or Gradle and copies the binaries to dist/<platform>/.

An ejected project (ios/ or android/ with a .angular-lynx-ejected marker, written by ng generate @blotch/angular-lynx:eject) is built as it is and never regenerated.

The shells

Both are one full-screen LynxView running main.lynx.bundle; Angular Router does all navigation inside it. Bundles and assets load from inside the app, so RSpeedy's default asset prefix (/static/...) works with no configuration. See templates/android/README.md for the Android shell's details.

| | iOS | Android | | ---------------- | ----------------------------------------------- | -------------------------------------------------------- | | Language | Swift, scene lifecycle | Kotlin | | Lynx | 4.1.0, prebuilt XCFrameworks (below) | 4.1.0 AARs from Maven Central | | Toolchain | Xcode 27, iOS 15+ | AGP 9.4, Gradle 9.6, JDK 17+, SDK 36, minSdk 24 | | Generated config | Config/App.xcconfig, App/Info.plist markers | angular-lynx.properties, AndroidManifest.xml markers |

Lynx for iOS

Lynx publishes iOS only as source pods, which take minutes to compile and need CocoaPods (and so Ruby). scripts/build-lynx-ios-frameworks.sh compiles them once into XCFrameworks (about 24 MB zipped, with debug symbols in a separate zip). The builder downloads the zip pinned in src/ios/frameworks.ts (URL and SHA-256) on first use and caches it in ~/.cache/angular-lynx/lynx-ios/<version>.

The zip for Lynx 4.1.0 is the lynx-ios-4.1.0 release. For a new Lynx version, bump the versions in the script, run the Lynx iOS frameworks workflow with publish (or the script locally), and pin the new zip's URL and SHA-256. To test a locally built folder before publishing it:

npm run build:lynx-ios-frameworks -w packages/native   # needs Xcode, and Ruby >= 2.7 with Bundler for CocoaPods
export ANGULAR_LYNX_IOS_FRAMEWORKS=$PWD/packages/native/.lynx-ios-build/out/LynxFrameworks

Changing a template

  • iOS: App/ is a synchronized folder, so adding or removing a Swift file needs no project change. For anything else (a build setting, a framework, a resource folder), edit APP_PROJECT in scripts/generate-ios-project.ts. App.xcodeproj isn't in git: the iosTemplateProject Vite plugin in vite.config.ts renders it with @bacons/xcode, which needs only Node, on every npm run build and npm test, and the npm package ships the result. Run npm run generate:ios-project -w packages/native to render it without the TypeScript build, e.g. to open the template in Xcode.
  • Both: run npm run e2e -- --ios --shell (and Layer 6 for Android, see the E2E README) to build and tap through a fresh app on each platform.