1.0.1 • Published 4 years ago

get-css-props v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

get-css-props

Combines this Data: https://github.com/mdn/data https://github.com/known-css/known-css-properties https://www.w3schools.com/cssref/ https://developer.mozilla.org/en-US/docs/Web/CSS/PROP

Usage

gcp

Flags
NameDefaultDescription
--outPath./Path Where the Files will be created. NOTE: The path has to exist
--concurrent40number of concurrent Tabs.
--fileTypejsonjson | ts | js
--prefixPrefixes every File.
--ignoreFiles in this list don't get Created. Example: 'noDataProps,standardProps'
-h h --help helpDisplays Help Message
Output
FileDescription
allPropsContains All Properties.
standardPropsContains All Standard Properties.
noDataPropsContains All Properties That DON'T have a description or any data from mdn/data.
dataPropsContains All Properties That HAVE a description or any data from mdn/data.
Format
type output = {
  [key: string]: {
    status?: string;
    mdn_url?: string;
    values?: Array<{ name: string; desc: string }>;
    desc?: string;
  };
};