url3

1.0.0 • Public • Published

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/format
  • url3/parse
  • url3/resolve
  • url3/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 url3

To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: Browserify, Webmake or Webpack

Tests Build Status

$ npm test

Readme

Keywords

Package Sidebar

Install

npm i url3

Weekly Downloads

6

Version

1.0.0

License

none

Last publish

Collaborators

  • medikoo