Socket
Socket
Sign inDemoInstall

component-querystring

Package Overview
Dependencies
2
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    component-querystring

Simple key/value pair query-string parsing


Version published
Weekly downloads
53K
increased by35.7%
Maintainers
6
Install size
265 kB
Created
Weekly downloads
 

Readme

Source

querystring

Simple key / value pair query-string parser and formatter.

Installation

$ component install component/querystring

API

.parse(string)

Parse the given query string:

var query = require('querystring');
query.parse('name=tobi&species=ferret');
// => { name: 'tobi', species: 'ferret' }

.stringify(object)

Stringify the given object:

var query = require('querystring');
query.stringify({ name: 'tobi', species: 'ferret' });
// => "name=tobi&species=ferret"

License

MIT

FAQs

Last updated on 02 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc