Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    mixturpublic

    mixtur(e)

    inline css with html.

    Installation

    npm install mixtur

    Example

    p {
      color: red;
      font-size: 16px;
    }
    <p></p>
    <p style="color: red; font-size: 16px;"></p>

    LearnBoost/juice

    this lib uses MatthewMueller/cheerio instead of jsdom, which means whatever html structure you pass, you will get the same back, for example juice(<p></p>) will return <html><body><p></p></body></html>, this lib will return <p></p>.

    Use juice if you care about !important, or complex stylesheets, this lib is for simple stylesheets with simple html.

    License

    MIT

    Keywords

    none

    install

    npm i mixtur

    Downloadslast 7 days

    2

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar