get the computer style property of an HTML element

npm install compute-style
3 downloads in the last week
5 downloads in the last month


returns an object with style information on an element.

npm install compute-value


It's a function that takes two parameters: the element, and the style property

var getCSS = require('compute-style')

var primitiveValue = getCSS(element, 'width').primitive.val
npm loves you