minisheet

1.0.5 • Public • Published

minisheet

Tiny module that implements a tiny subset of sheetify, without using transforms.

npm install minisheet

Usage

const css = require('minisheet')
 
// minisheet inserts the style and generates the :host class which is returned,
// that is it.
 
const className = css`
  :host {
    background-color: blue;
  }
`
 
document.body.className = className

License

MIT

/minisheet/

    Package Sidebar

    Install

    npm i minisheet

    Weekly Downloads

    7

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    3.4 kB

    Total Files

    4

    Last publish

    Collaborators

    • mafintosh