Package Exports
- preflex
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (preflex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
preflex 
Dynamically add vendor flexbox prefixes to CSS style dictionaries
Install
$ npm install --save preflexUsage
// In Safari
var prefix = require('preflex')
prefix({flex: 1})
//=> {flex: 1, webkitFlex: 1}
prefix({display: 'flex'})
//=> {display: '-webkit-flex'}API
prefix(obj) -> object
Returns a copy of the original object with both the standard flexbox property and the prefixed version.
obj
Required
Type: object
An object containing CSS style properties. Keys should be camel cased, e.g. flex-direction should be flexDirection.
License
MIT © Ben Drucker