1.2.1 • Published 6 years ago

build-query-string v1.2.1

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

build status version downloads coverage

build-query-string

The easiest way to convert an object to a query string for an API call

Usage

var buildQueryString = require('build-query-string');

console.log(buildQueryString({ user: 12, mobile: 'AT&T', device: 'iPhone' }));
// => "user=12&mobile=AT%26T&device=iPhone"

Installation

With npm do

$ npm i build-query-string --save

License

MIT