JSPM

get-prefix

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23250
  • Score
    100M100P100Q139730F
  • License MIT

Get browser style prefixes for Javascript.

Package Exports

  • get-prefix

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 (get-prefix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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)'