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-eva-css

v2.0.8

Published

Scaffolding tool for EVA CSS projects - npm init eva-css

Downloads

116

Readme

create-eva-css

Scaffolding tool for EVA CSS projects. Get started with a fully configured EVA CSS project in seconds.

Quick Start

# Using npm
npm init eva-css my-project

# Using npx
npx create-eva-css my-project

# Using pnpm
pnpm create eva-css my-project

# Using yarn
yarn create eva-css my-project

Interactive Setup

The CLI will guide you through:

  1. Template Selection - Choose from 3 presets:

    • Minimal: Variables only, no utility classes
    • Utility: Full utility classes mode
    • Full: Everything + examples + theme switching
  2. Design Sizes - Enter your design system sizes (from Figma, etc.)

  3. Font Sizes - Enter your font size scale

  4. Package Manager - Choose npm, pnpm, or yarn

  5. Dependency Installation - Automatically install dependencies

CLI Options

For non-interactive usage:

npx create-eva-css my-project \
  --preset utility \
  --sizes "16,24,32,64,128" \
  --font-sizes "16,24,32,48" \
  --package-manager pnpm

Options

| Option | Description | Values | |--------|-------------|--------| | --preset | Project template | minimal, utility, full | | --sizes | Comma-separated size values | e.g. "16,24,32,64" | | --font-sizes | Comma-separated font sizes | e.g. "16,24,32" | | --package-manager | Package manager to use | npm, pnpm, yarn | | --help | Show help message | - |

What Gets Generated

my-project/
├── eva.config.cjs      # EVA CSS configuration
├── package.json        # Project dependencies
├── .gitignore          # Git ignore rules
├── README.md           # Project documentation
├── index.html          # Demo page
└── styles/
    └── main.scss       # Main stylesheet

Generated Scripts

The scaffolded project includes these npm scripts:

{
  "build": "sass styles/main.scss:styles/main.css",
  "build:watch": "sass --watch styles/main.scss:styles/main.css",
  "build:purge": "sass ... && eva-purge ...",
  "dev": "npm run build:watch"
}

Next Steps After Generation

# Navigate to project
cd my-project

# Start development (watch mode)
npm run dev

# Open index.html in your browser

# Build for production (with purge)
npm run build:purge

Template Presets

Minimal

Perfect for custom component libraries:

  • Variables only mode (@use 'eva-css-fluid/variables')
  • No utility classes generated
  • Minimal CSS output
  • Full access to fluid size variables

Utility

Best for rapid prototyping:

  • Full utility class system
  • All EVA CSS features enabled
  • Pre-configured theme
  • Example HTML with utility classes

Full

Complete starter with examples:

  • Everything from Utility preset
  • Theme switching demo
  • Gradient examples
  • Component patterns
  • Comprehensive documentation

Configuration

All projects include eva.config.cjs for easy customization:

module.exports = {
  sizes: [16, 24, 32, 64],        // Your design sizes
  fontSizes: [16, 24, 32],        // Your font scale
  buildClass: true,               // Generate utilities
  purge: {
    enabled: false,               // Enable for production
    content: ['**/*.html'],
    // ... more options
  }
};

Examples

From Figma Design

# Extract sizes from your Figma design: 8, 16, 24, 32, 48, 64, 96
# Extract font sizes: 14, 16, 20, 24, 32, 48

npx create-eva-css my-figma-project \
  --preset utility \
  --sizes "8,16,24,32,48,64,96" \
  --font-sizes "14,16,20,24,32,48"

Quick Prototype

npx create-eva-css prototype --preset full
cd prototype
npm run dev
# Open index.html

Component Library

npx create-eva-css my-components --preset minimal
cd my-components
npm install
npm run dev

Troubleshooting

Permission Errors

# If you get permission errors on Windows:
npx create-eva-css my-project

# On Linux/Mac:
sudo npm init eva-css my-project

Package Manager Issues

The tool auto-detects your package manager, but you can force one:

npx create-eva-css my-project --package-manager pnpm

Resources

License

MIT © Michaël Tati