Skip to content

schiehll/css-prefixes-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

css-prefixes-data

A CLI to generate a json file with the CSS features/prefixes based on caniuse data.

version MIT License

Install

npm install -g css-prefix-data

Usage

Usage: css-prefixes-data [options]

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -s, --scope <browser scope>  The browser scope
    -f, --filename [filename]    The filename

Example

css-prefixes-data -s 'last 2 versions' -f 'prefixes.json'

It will generate the file in the current working directory.

The data

The data in the file will look like this:

[
  {
    "name":"columns",
    "prefixes":["-webkit-"]
  },
  {
    "name":"flex",
    "prefixes":["-webkit-", "-ms-"]
  },
  ...
]

About

A CLI to generate a json file with the CSS features/prefixes based on caniuse data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published