1.0.1 • Published 6 years ago

tiny-url-params v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

tiny-url-params

Installation

npm install tiny-url-params

Usage

'use strict';
var tinyUrlParams = require('tiny-url-params');

Example

var params = tinyUrlParams('https://www.site.com/?customer=Maxim&goods=game');
console.log(params); // output = { customer: 'Maxim', goods: 'game' };

Testing

I have unit tests that run under Node.js. You can run these tests with the npm test command.

License

MIT