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

@keel-ai/modules-autolinking

v0.1.0

Published

Per-module autolinking + dev CLI for Keel modules — `keel-module` validate / link / install + the module.yml schema/parser + Podfile/Gradle snippet generators. Sibling of @keel-ai/modules-core, mirroring Expo's expo-modules-autolinking split.

Downloads

87

Readme

@keel-ai/modules-autolinking

Per-module autolinking + dev CLI for Keel modules — sibling of @keel-ai/modules-core, mirroring Expo's expo-modules-autolinking split.

Why it's separate from @keel-ai/modules-core

@keel-ai/modules-core is the native runtime + codegen that modules sit on (Swift KeelModule base + JSI install + Swift Macros + Kotlin KSP — the platform foundation). Autolinking is the module-system orchestration layer: scanning, generating provider files, and the per-module helper CLI for module authors. Expo splits these too (expo-modules-core vs expo-modules-autolinking); Keel mirrors the split so each package has one job.

Library API

import {
  loadModuleSpec,
  validateModuleSpec,
  generatePodfileSnippet,
  generateGradleSnippet,
  checkSpecSources,
  scanModules,
  generateIOSProvider,
  generateAndroidProvider,
  type ModuleSpec,
  type ScannedModule,
} from '@keel-ai/modules-autolinking';
  • loadModuleSpec(root) / validateModuleSpec(yaml) — parse + lint module.yml.
  • generatePodfileSnippet(spec, root) / generateGradleSnippet(spec, root) — emit per-module autolink snippets. ⚠️ The Podfile snippet applies only to CocoaPods iOS modules — in practice the React-coupled apple-signin / google-signin (they import React). The React-free modules (modules-core + leaf packages + the 5 vendor modules) ship as SPM source targets, wired by hand in the host's Package.swift / project.yml; keel-module link does not emit SPM declarations.
  • scanModules(hostRoot) — scan <host>/node_modules for packages carrying a module.yml.
  • generateIOSProvider(modules) / generateAndroidProvider(modules) — emit KeelModulesProvider.{swift,kt} that registers each scanned module's class with KeelModuleRegistrar at startup.
  • checkSpecSources(spec, root) — verify declared source paths exist (shared with @keel-ai/module-scripts' publish).

CLI (keel-module)

Per-module daily-dev — scaffolding is in the standalone create-keel-module package (npm create keel-module …), test/publish are in @keel-ai/module-scripts.

keel-module validate [path=.]
keel-module link [module-path=.]
keel-module install [--host=<path>] [module-path=.]
keel-module autolink --platform=ios|android --out=<file> [--host=<dir>] [--package=<kotlin-pkg>]

See keel-module help for the full docstring.

Status

Both halves of autolinking are implemented:

  • Per-module (link / install) — emit Podfile + Gradle snippets for one module.
  • Host-level (autolink) — scan <host>/node_modules, then emit KeelModulesProvider.{swift,kt} registering every discovered module with KeelModuleRegistrar (the analog of expo-modules-autolinking's scan binary). Run it as a build phase (Xcode / Gradle) or by hand.

iOS note: only React-coupled Pod modules (apple-signin / google-signin) flow through the Podfile snippet path. The React-free SPM modules (modules-core + leaf + vendor) are declared in the host's Package.swift / project.yml by hand — but autolink still generates their KeelModulesProvider.swift registration entries.

License

Apache-2.0.