vxv-insert

3.1.6 • Public • Published

VXV - Insert

Build Status vxv

__VXV-Insert__ inserts styles into the DOM. It appends a style attribute to the document's head.

Install

$ npm install vxv-insert

Usage

const insert = require('vxv-insert');
 
insert(`
  body {
    background: red;
  }
`);
 
// The pages background is red now

License

MIT © Tobias Herber

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i vxv-insert

    Weekly Downloads

    1

    Version

    3.1.6

    License

    MIT

    Unpacked Size

    6.01 kB

    Total Files

    9

    Last publish

    Collaborators

    • tobihrbr