$ npm install combo-url-parser
npm install combo-url-parser
comboParser = require('combo-url-parser');
comboParser(url);
'/foo.js' > ['/foo.js]
'/??foo.js,bar.js' > ['/foo.js','/bar.js']
'/hello??foo.js,bar.js' > ['/hello/foo.js','/hello/bar.js']
'/hello??foo.js,d/bar.js' > ['/hello/foo.js','/hello/d/bar.js']
© 2010 - cnpmjs.org x YWFE | Home | YWFE