build-query-string

1.2.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    7
    • latest

Version History

Package Sidebar

Install

npm i build-query-string

Weekly Downloads

9

Version

1.2.1

License

MIT

Unpacked Size

53.6 kB

Total Files

17

Last publish

Collaborators

  • tishko