Package Exports
- unu
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (unu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
unu
unused css
Install
npm install unu
Basic Usage
var unu = require('unu');
unu('http://m.baidu.com',function(error,css){
if(!error){
console.log(css.unused);
console.log(css.used);
}
});
Advanced Usage
var unu = require('..');
//default ANDROID,you can use ANDROID IPHONE IPAD WP
unu('http://m.baidu.com',{userAgent:'IPHONE'},function(error,css){
if(!error){
console.log(css.unused);
console.log(css.used);
}
});
ToDo
- support link stylesheet