0.0.3 • Published 7 years ago

uri-convertor v0.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

npm version

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