link-css
v0.1.3
Published
insert a link of css into the <head>
Downloads
17
Maintainers
Readme
insert-css
insert a <link>
of css into the <head>
example
var fs = require('fs');
var linkCss = require('link-css');
linkCss('/style.css');
In the page which used this script after bundled by browserify, it will have a <link>
tag which load the /style.css
into the page.
You can use css-linkify if you like to require('./style.css')
directly.