UNPKG

stylon

Version:

JSON to DOM style attribute

16 lines (11 loc) 172 B
# stylon JSON to DOM style attribute ## usage ```js var styles = require('stylon'); styles({ top: 300 + 'px', left: 100 + 'px' }); //=> 'top:300px;left:100px;' ```