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

@uploadcare/ai-enhancer

v0.1.4

Published

AI image generation and editing web component for Uploadcare

Readme

Uploadcare AI Enhancer

NPM version Build Status GitHub release

AI image generation and editing for Uploadcare — a framework-agnostic <uc-ai-enhancer> web component, plus an optional plugin that adds an AI Edit action and a Generate image source to the Uploadcare File Uploader. Generate images from a text prompt, edit existing ones by uuid, and commit the result back as an already-uploaded Uploadcare file.

Quick start

  1. Install the package:
npm install @uploadcare/ai-enhancer
  1. Use the standalone editor — importing the package registers the element; configure it via properties and pick a layout, theme, and locale:
import '@uploadcare/ai-enhancer';
<uc-ai-enhancer pubkey="YOUR_PUBLIC_KEY"></uc-ai-enhancer>
const editor = document.querySelector('uc-ai-enhancer');
editor.addEventListener('uc:done', (e) => console.log(e.detail.url));

All uc:* events and their payloads are listed in the API reference.

Client-only: importing the package registers custom elements, so it must run in the browser — in SSR apps load it behind a client boundary (see Bundlers & SSR), or use the SSR-safe React wrapper.

Or as a File Uploader plugin, assuming a working File Uploader setup (@uploadcare/file-uploader ≥ 1.31.2) — the plugin reads its settings from the uploader config:

npm install @uploadcare/ai-enhancer @uploadcare/file-uploader
import * as UC from '@uploadcare/file-uploader';
import { AiEnhancerPlugin } from '@uploadcare/ai-enhancer/plugin';

UC.defineComponents(UC);
document.querySelector('uc-config').plugins = [AiEnhancerPlugin];

Add ai-enhancer to the config's source-list to expose the Generate image source; the AI Edit action appears on uploaded images automatically. Full setup in the plugin guide.

You need an Uploadcare public key from the dashboard. Using React? See @uploadcare/react-ai-enhancer.

Documentation

Everything else lives in the docs:

Security issues

If you think you ran into something in Uploadcare libraries that might have security implications, please hit us up at [email protected] or Hackerone.

We'll contact you personally in a short time to fix an issue through co-op and prior to any public disclosure.

Feedback

Issues and PRs are welcome. You can provide your feedback or drop us a support request at [email protected].