0.1.3 • Published 8 years ago

link-css v0.1.3

Weekly downloads
25
License
MIT
Repository
github
Last release
8 years ago

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.