/extract-selectors

Extract and group selectors from a style sheet by property or value.

Primary LanguageJavaScriptMIT LicenseMIT

extract-selectors

Extract and group selectors from a style sheet by property or value.

Installation

Install extract-selectors globally to expose a simple command line interface:

npm install -g extract-selectors

Usage

CLI

Run extract-selectors -h to view the available options.

Examples

# Preview selectors grouped by font family.
extract-selectors style.css --prop=font-family