get-css-props

1.0.1 • Public • Published

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
Name Default Description
--outPath ./ Path Where the Files will be created. NOTE: The path has to exist
--concurrent 40 number of concurrent Tabs.
--fileType json `json
--prefix Prefixes every File.
--ignore Files in this list don't get Created. Example: 'noDataProps,standardProps'
-h h --help help Displays Help Message
Output
File Description
allProps Contains All Properties.
standardProps Contains All Standard Properties.
noDataProps Contains All Properties That DON'T have a description or any data from mdn/data.
dataProps Contains 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;
  };
};

Readme

Keywords

none

Package Sidebar

Install

npm i get-css-props

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

27.2 kB

Total Files

5

Last publish

Collaborators

  • the_real_syler