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 🙏

© 2024 – Pkg Stats / Ryan Hefner

css-groups

v0.1.1

Published

A JavaScript object of regular expressions that match CSS properties grouped by category.

Downloads

5,132

Readme

CSS groups

A JavaScript object of regular expressions that match CSS properties grouped by category.

Usage

npm i css-groups --save
const groups = require('css-groups');

console.log(groups); // do your thang

The groups

groups.margin

margin, margin-top, margin-right, margin-bottom, margin-left

groups.padding

padding, padding-top, padding-right, padding-bottom, padding-left

groups.border

border, border-style, border-color, border-width, border-top, border-top-style, border-top-color, border-top-width, border-right, border-right-style, border-right-color, border-right-width, border-bottom, border-bottom-style, border-bottom-color, border-bottom-width, border-left, border-left-style, border-left-color, border-left-width

groups.borderImage

border-image, border-image-outset, border-image-repeat, border-image-slice, border-image-source, border-image-width

groups.borderRadius

border-radius, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius

groups.background

background(-*)?

groups.position

position, top, right, bottom, left, z-index

groups.display

display, visibility

groups.width

width, max-width, min-width

groups.height

height, max-height, min-height

groups.overflow

overflow, overflow-x, overflow-y

groups.box

box-*(-*)?

groups.float

float, clear

groups.grid

grid(-*)?(-*)?

groups.flex

align, align-content, align-items, align-self, flex(-*)?, order

groups.flexParent

align, align-content, align-items, flex-direction, flex-flow, flex-wrap, flex-content, justify-content

groups.flexChild

flex, flex-basis, flex-grow, flex-shrink, align-self, order

groups.text

text(-*)?(-*)?, word-break, word-spacing, word-wrap, line-break, line-height, hanging-punctuation, hyphens, letter-spacing, overflow-wrap, tab-size, white-space, initial-letter, vertical-align, color

groups.font

font(-*)?(-*)?

groups.writing

direction, text-orientation, text-combine-upright, unicode-bidi, user-select, writing-mode

groups.column

break-after, break-before, break-inside, column-break-after, column-break-before, column-break-inside, page-break-after, page-break-before, page-break-inside, columns(-*)?, columns, windows

groups.table

border-collapse, border-spacing, caption-side, empty-cells, table-layout

groups.list

list-style, list-style-image, list-style-position, list-style-type, counter-increment, counter-reset

groups.image

image-orientation, image-rendering, image-resolution, object-fit, object-position

groups.svg

stroke(-*)?, fill

groups.transform

transform, transform-origin, transform-style, backface-visibility, perspective, perspective-origin

groups.blending

isolation, mix-blend-mode

groups.filter

filter, opacity

groups.clip

clip, clip-path

groups.mask

mask, mask-type

groups.transition

transition, transition-property, transition-duration, transition-timing-function, transition-delay

groups.animation

offset-distance, offset-path, offset-rotation, motion-distance, motion-path, motion-rotation, will-change, animation

groups.pseudo

content, initial-letter

groups.print

break-after, break-before, break-inside, column-break-after, column-break-before, column-break-inside, page-break-after, page-break-before, page-break-inside, orphans, widows, marks, bleed, quotes

groups.all

all

groups.appearance

appearance

groups.other

all other styles (*)

(This list was generated via npm run docs)