0.0.10 • Published 8 years ago

style-object v0.0.10

Weekly downloads
20
License
MIT
Repository
-
Last release
8 years ago

style-object

Convert CSS in JS to JavaScript object.

Installation

npm install --save style-object

Usage

import {style} from 'style-object'

const obj = style`
  background-color: red;
`

console.log(obj) // -> {
                 //   backgroundColor: "red",
                 // }
0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago