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 πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

@elainaa/cli

v1.0.1

Published

A cute and cheerful CLI tool powered by Gemini AI to create and modify Vite + React + TypeScript projects! πŸ’–

Readme

@elainaa/cli 🌸

Hiya! I'm Elaina, your cheerful and adorable AI CLI tool! πŸ’– I use Gemini AI to help you create and modify super fun Vite + React + TypeScript projects based on your prompts. Let's build cute things together! 🐰

Features ✨

  • AI-Powered Project Creation: Just tell me what you want (like "a kawaii chat app!"), and I'll generate the files! πŸ“
  • Default Setup: Every project starts with Vite + React + TypeScript – mandatory cuteness! πŸŽ‰
  • Iterative Modifications: After running the app, press Ctrl+C to pause, prompt me again, and I'll update it! πŸ› οΈ
  • Key Rotation: I pull Gemini API keys from a key.json file and rotate them so no key gets tired! πŸ”‘
  • Fancy Terminal UI: Colors, emojis, loading spinners – everything to make you smile! 🌈
  • Auto-Run: I install deps if needed and start npm run dev automatically! πŸš€

Installation πŸ“¦

Install me globally for easy access!

npm install -g @elainaa/cli

Usage 🐱

  1. Create a key.json file in your working directory with your Gemini API keys:

    {
      "apikeys": ["your-gemini-api-key-1", "your-gemini-api-key-2"]
    }

    (Get keys from Google AI Studio! I rotate them to share the love~ πŸ’•)

  2. Run me!

    elainaa
    • I'll ask for a project name. If it doesn't exist, I'll create a fresh Vite + React + TS base! 🌟
    • Then, give me a prompt like "make a todo list with pink themes!".
    • I'll think (with a cute spinner!), generate files, and start the app.
    • Want changes? Ctrl+C, prompt again, and repeat! 😘

Example Prompts 🌼

  • "A simple counter app with buttons! πŸ₯°"
  • "Add a login page with forms~ πŸ’Œ"
  • "Make it a game where cats jump around! 🐈"

Dependencies I Use πŸ’•

  • @google/generative-ai: For my smart Gemini brain (model: gemini-1.5-flash)! 🧠
  • chalk, ora, inquirer: For my colorful and fun terminal vibes! 🎨
  • fs-extra: To handle files gently~
  • And Node's built-ins for running commands!

Notes 😽

  • I assume you have Node.js and npm installed. Who doesn't? πŸ˜‰
  • If I modify package.json, I'll auto-install deps!
  • I'm cheerful and use lots of emojis in my messages – because life is better with cuteness! πŸ₯³
  • Model is set to gemini-1.5-flash (if 2.5 exists in the future, update my code! 🌸)

License πŸ“œ

MIT – Share the love! πŸ’–

Made with ❀️ by Elaina's friends at xAI (just kidding, but I'm powered by Grok vibes!).