1.0.0 • Published 11 years ago
url3 v1.0.0
url3
Modular and environment agnostic version of node.js url package
Works same way as Node's url but provides individual functionalities as following distinct modules:
url3/formaturl3/parseurl3/resolveurl3/resolve-object
Additionally format accepts only objects. So if you want to clean up potentially wonky url, you need to format(parse(url)). Same way parse, resolve and resolveObject accept only strings as input arguments
Installation
NPM
In your project path:
$ npm install url3To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: Browserify, Webmake or Webpack
Tests 
$ npm test1.0.0
11 years ago