object-to-querystring

1.0.8 • Public • Published

Version npm

object-to-querystring

Convert an object into a query string.

Example

import objectToQuery from 'object-to-querystring';
 
const params = {
  name: 'Justin',
  number: 12345,
};
const querystring = objectToQuery(params);
/*
 querystring === '?name=Justin&number=12345'
*/

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.824latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.824
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i object-to-querystring

Weekly Downloads

24

Version

1.0.8

License

ISC

Last publish

Collaborators

  • cyberlane