0.6.0 • Published 2 years ago

stiletto v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Stiletto

Given HTML, stiletto will inline your CSS properties into the style attribute.

Installation

$ npm i stiletto

Usage

import * as stiletto from "stiletto"
const html = "<p> ... </p>"
const css = "p { color: red }"
console.log(stiletto.inline(html, css))
// <p style="color:red;">...</p>

Copyright and License

Copyright (c) 2022 TANIGUCHI Masaya. All rights reserved. This package is released under MIT License. https://git.io/mit-license

0.6.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago