Skip to content

herber/style-string

Repository files navigation

style-string Build Status Codestyle fyi

Generate inline style strings

Install

$ npm install --save style-string

Usage

const styleString = require('style-string');

styleString({ 'font-site': '18px', color: 'red' });
//=> 'font-site: 18px; color: red'

API

styleString(styles)

styles

Type: object

License

MIT © Tobias Herber

About

Generate inline style strings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published