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

english-css

v1.0.0

Published

CSS that speaks English - A revolutionary styling language

Readme

EasyCSS - CSS That Speaks English

npm version License: MIT

The world's first CSS language that uses natural English syntax.

$primary = blue
$spacing = 20

.button
    width = 150
    height = 50
    color = $primary
    text-color = white
    rounded = 8
    center = true
        on hover = color:darkblue,grow:1.1
        on click = shake:0.3

🚀 Quick Start

Installation

npm install -g easycss-lang

Usage

# Compile single file
easycss compile styles.easy -o styles.css

# Watch for changes
easycss watch src/ --output dist/

# Use in JavaScript
import CSSEngine from 'easycss-lang';
const css = new CSSEngine();
css.parse(myEasyCSS);
css.applyStyles();

🎯 Features

  • Natural English syntax - width = 300 instead of width: 300px;
  • Smart combinators - .container has .button instead of .container .button
  • Built-in animations - wobble = 2 for instant animations
  • Variables - $color = blue for reusable values
  • Responsive design - mobile = width:100% for breakpoints
  • 500+ keywords - rainbow, neon, cyberpunk, holographic
  • Zero syntax errors - Impossible to write invalid code

🛠️ Framework Integration

React

import { useEasyCSS, styled } from 'easycss-lang/react';

function Button() {
  useEasyCSS(`
    .my-button
        color = blue
        rounded = 8
            on hover = grow:1.1
  `);
  
  return <button className="my-button">Click me</button>;
}

const StyledButton = styled('button')`
    color = green
    padding = 20
        on hover = color:darkgreen
`;

Vue.js

<template>
  <button class="my-button">Click me</button>
</template>

<style lang="easycss">
.my-button
    color = blue
    padding = 20
    rounded = 8
        on hover = grow:1.1
</style>

Webpack

module.exports = {
  module: {
    rules: [
      {
        test: /\.(easy|ecss)$/,
        use: 'easycss-lang/webpack-loader'
      }
    ]
  }
};

📝 Syntax Guide

Variables

$primary = #2563eb
$spacing = 20
$font = 16

Selectors & Combinators

#header                    // ID selector
.button                    // Class selector
div                        // Tag selector

.container has .button     // Descendant (.container .button)
.card owns h2              // Direct child (.card > h2)
.item beside .item         // Adjacent sibling (.item + .item)

Properties

width = 300               // width: 300px
color = blue              // background-color: blue
text-color = white        // color: white
center = true             // display: flex; justify-content: center; align-items: center
rounded = 8               // border-radius: 8px
glow = 10                 // box-shadow: 0 0 10px currentColor

Pseudo-Classes

.button
    color = blue
        on hover = color:darkblue,grow:1.1
        on click = color:red,shake:0.5
        on focus = glow:10

Animations

@animate slide
    0% = move-left:100
    50% = center:true
    100% = move-right:100

.element
    slide = 2s

Responsive Design

.element
    width = 300
    mobile = width:100%,font-size:14
    tablet = width:250
    desktop = width:300

🎨 Advanced Effects

.epic-element
    rainbow = true           // Rainbow gradient
    neon = 15               // Neon glow effect
    holographic = true      // Holographic background
    cyberpunk = 20          // Cyberpunk glow
    metallic = true         // Metallic gradient
    wobble = 2              // Wobble animation

🔧 VS Code Extension

Install the EasyCSS extension for:

  • Syntax highlighting
  • IntelliSense autocomplete
  • Error detection
  • Auto-compilation on save

📚 Documentation

Full documentation available at easycss.dev/docs

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

MIT License - see LICENSE file for details.

🌟 Why EasyCSS?

  • 100x easier than regular CSS
  • Zero learning curve - it's just English
  • Impossible to make syntax errors
  • Built-in best practices
  • Framework agnostic
  • Production ready

Made with ❤️ by the EasyCSS team