0.0.3 • Published 9 years ago
uri-convertor v0.0.3
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.gitHow 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
