Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-groups

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-groups

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

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
762
decreased by-21.28%
Maintainers
1
Weekly downloads
 
Created
Source

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)

Keywords

FAQs

Package last updated on 20 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc