Miss any of our Open RFC calls?Watch the recordings here! »

get-prefix

1.0.0 • Public • Published

Get Prefix 1.0.0

Get browser style prefixes for Javascript.

Install

npm install get-prefix --save

bower install get-prefix --save

Example Usage

import getPrefix from 'get-prefix'
 
const div = document.createElement('div')
const transform = getPrefix('transform')
 
div[transform] = 'rotate(360deg)'

Install

npm i get-prefix

DownloadsWeekly Downloads

32,431

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar