node-assassin
v1.0.1
Published
Assassin is danger
Downloads
4
Readme
node-assassin
Assassin for combine parser
Assassin is a combine parser.
How to install
npm install --save node-assassin
How to use
var logger = require('node-lancer/logger');
var Combine = require('node-assassin');
var combine = new Combine({
rootdir: process.cwd(),
dns: {
'a.cdn.com':"12.22.111.2"
},
filter: {
'[\\-\\.]min\\.':".",
'/\\d+\\.\\d+\\.\\d+/': "/",
"/folder/widget/": "/"
}
});
logger.log(combine.parse('https://a.cdn.com/group/widget/1.0.0/??a.js,b.js,c.js,d.css.js'));