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

@wefterjs/cli

v0.0.5

Published

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="../../Logo/Dark/Icon.svg"> <source media="(prefers-color-scheme: light)" srcset="../../Logo/Light/Icon.svg"> <img alt="Wefter" src="../../Logo/Light/Icon.svg

Readme


It reads wefter.config.json, weaves your declared plugins into a real native Android/iOS project, and drives build/run/eject for that project.

Install

pnpm add -D @wefterjs/cli

Dev dependency only, the CLI never ships inside the built app. Your app's runtime dependency is @wefterjs/core.

Requirements

  • Node 18+
  • JDK 17 and the Android SDK (ANDROID_HOME/ANDROID_SDK_ROOT, with platform-tools on PATH) for Android targets
  • Xcode 16+ for iOS targets

Run wefter doctor to check your machine against all of these at once. Full setup walkthrough: wefter.dev/docs/environment-setup.

Quick start

wefter add @yourorg/scanner-plugin   # look up on registry, declare in config
pnpm add @yourorg/scanner-plugin     # install with your package manager
wefter sync                          # weave declared plugins into the native project
wefter run android --watch           # build, install, launch, hot-reload

Commands

| Command | What it does | | ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | wefter doctor [projectDir] [--release-readiness] | Checks your environment is set up correctly. --release-readiness also checks the project itself is ready for a --release build. | | wefter sync [projectDir] [--update-lock] | Resolves declared plugins, verifies lockfile integrity, regenerates the native project. --update-lock accepts and re-locks drifted plugin versions. | | wefter build <android\|ios> [projectDir] [--release] [--env <name>] [--simulator <name>] | Syncs and builds the native app. | | wefter run <android\|ios> [projectDir] [--watch] [--env <name>] [--simulator <name>] | Syncs, builds, installs, and launches the app. --watch starts a local dev server for hot reload. | | wefter eject [projectDir] | Copies the generated native project(s) to android/ and ios/ for hand-editing. Wefter stops regenerating them after this. | | wefter audit [projectDir] | Read-only: prints the plugins, permissions, and dependencies this project would sync, plus lockfile drift and permission violations. | | wefter add <plugin> [projectDir] | Looks up the plugin on the npm registry, adds it to package.json deps, and declares it in wefter.config.json. Prints the install command for your package manager. | | wefter create-plugin <name> [targetDir] | Scaffolds a new Wefter plugin package from working boilerplate. | | wefter icon generate <source> [projectDir] | Previews Android launcher icons from a source image. Lost on the next sync unless "icon" is also set in wefter.config.json. | | wefter splash generate [targetPath] [projectDir] | Scaffolds an example splash folder to edit and point wefter.config.json at. | | wefter plugin validate [pluginDir] | Validates a plugin directory against the Wefter plugin schema and source conventions. |

Run wefter <command> --help for a command's full option list.

How sync works

sync never hand-edits a native project you own. It regenerates a disposable one, .wefter/native/android and/or .wefter/native/ios, from your wefter.config.json and declared plugins every time it runs: native plugin source gets copied in, Gradle/CocoaPods dependencies and platform permissions get merged, and a typed plugin registry gets generated. wefter eject is the escape hatch if you need to hand-edit the native project directly. After that, sync stops touching it.

Programmatic use

Most of the CLI's internals are also exported for use as a library, the same sync, build, run, audit, doctor checks, and native-project path helpers the wefter binary itself calls:

import { sync, build, runAllChecks } from "@wefterjs/cli";

Development

pnpm dev     # tsx src/cli.ts, run the CLI from source
pnpm build   # tsc -p tsconfig.json
pnpm test    # vitest run

Depends on @wefterjs/registry-codegen for the underlying plugin scanning, validation, and Android/iOS codegen.

Part of the Wefter monorepo. See the root README for the full picture, and wefter.dev for complete documentation.

License

MIT