/normalize.css.js

Inject normalize.css by simply require("normalize.css.js") This is also safe to do on the server

Primary LanguageJavaScriptMIT LicenseMIT

normalize.css.js

Inject normalize.css into browser by require("normalize.css.js"). This also returns the css code and safe to run on the server.

  • No browserify transform needed.
  • This works similar to insert-css.
  • Always installs the latest normalize.css.
  • Runs safely on both client and server

Example

require("normalize.css.js");

On the browser it will inject the css into the <head>

You can also use this to get the css code of normalize.css

var normalize_css_code = require("normalize.css.js");

Install

$ npm install --save normalize.css.js

License

MIT