Have ideas to improve npm?Join in the discussion! »

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

37,371

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar