URI-Convertor
URI convertor between regular uri
/ thunder uri
/ qqdl uri
/ flashget uri
and more...
Installation
- npm
npm install --save uri-convertor
- github
https://github.com/larryonline/uri-convertor.git
How to use it.
- Command line
./bin/uric --help
- require('uri-convertor')
const URIC = require('uri-convertor');
var uric = URIC();
uric.styles(); // ['list output styles']
var uris = ['regular uri', 'thunder uri', 'flashget uri', 'qqdl uri', 'etc....'];
uric.convert(uris, {
styles: [
'regular uri <as default>',
'thunder',
'flashget',
'qqdl',
'etc....'
] // if styles point to null / undefined,
// all style will have chance to be convert.
});
Issues
Any problems? please post issues here