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

create-app-icon

v0.1.8

Published

Generate AI app icons and wire them into your Expo project in one command.

Readme

create-app-icon

Generate AI app icons and wire them into your Expo project in one command.

npx create-app-icon

Run it inside an Expo project. You'll be prompted to describe the icon, pick a style, and pick a background. The CLI then:

  1. Calls the hosted backend at https://ai-app-icons.fly.dev to generate the icon and all Expo asset sizes.
  2. Writes PNGs into the directory that already holds your icon (read from the Expo config). Falls back to ./assets/ if no icon is set. Files written: icon.png, icon-ios.png, icon-ios-dark.png, icon-ios-tinted.png, adaptive-foreground.png, adaptive-background.png, adaptive-monochrome.png, splash.png, splash-icon.png, favicon.png.
  3. Patches your Expo config file in place.

Overwrites

Assets are written with those fixed filenames. Any existing file with the same name in the output directory is overwritten — there is no backup. Before writing, the CLI lists every collision and asks you to confirm. Pass --force (or -y) to skip that prompt.

Supported config files (auto-detected, in Expo's resolution order):

  • app.config.ts
  • app.config.js
  • app.config.json
  • app.json

Options

--output <dir>     Asset output directory. Defaults to the folder that already
                   holds your icon (from the Expo config); falls back to
                   ./assets.
--config <file>    Explicit Expo config path (default: auto-detect)
--api-url <url>    Override backend URL
--web              Force the browser wizard (auto-enabled when the backend
                   requires auth)
--yes, -y          Skip the confirmation prompt
--force, -f        Alias for --yes. Skips confirmation even when existing
                   PNGs would be overwritten.
--help, -h         Show help
--version, -v      Show version

Environment: AI_APP_ICONS_API_URL overrides the backend URL, same as --api-url.

When it can't patch automatically

For app.config.js / app.config.ts, we look for a direct object literal export, module.exports = { ... }, or an arrow-function form returning an object literal. If your file does something more unusual (dynamic branches, imported config, etc.), the CLI will print the exact JSON snippet to add and leave the file untouched.

Develop

pnpm install
pnpm build
node dist/index.js --help