Skip to content

micro-js/css-prefix-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

css-prefix-data

Build status Git tag NPM version Code style

CSS Prefix requirements for browsers

Installation

$ npm install @f/css-prefix-data

Usage

var cssPrefixData = require('@f/css-prefix-data')

function shouldPrefix (browser, version, property) {
  return cssPrefixData[browser][property] >= version
}

License

MIT