Socket
Socket
Sign inDemoInstall

querystring-es3

Package Overview
Dependencies
3
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

querystring-es3

Node API compliant querystring module for all browsers. (ES3 compatible)


Version published
Maintainers
1
Weekly downloads
6,460,435
decreased by-19.61%
Install size
323 kB

Weekly downloads

Package description

What is querystring-es3?

The querystring-es3 npm package is a module that provides utilities for parsing and formatting URL query strings. It is a version of the querystring module that is compatible with older JavaScript engines that do not fully support ES5.

What are querystring-es3's main functionalities?

Parsing query strings

This feature allows you to parse a query string into an object, where each key-value pair in the query string becomes a key-value pair in the object.

var querystring = require('querystring-es3');
var parsed = querystring.parse('foo=bar&abc=xyz&abc=123');

Stringifying objects

This feature allows you to serialize an object into a query string, with support for nested objects and arrays.

var querystring = require('querystring-es3');
var stringified = querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' });

Escaping and unescaping

This feature provides methods for percent-encoding and decoding strings, which is useful for sanitizing input and output for URL query strings.

var querystring = require('querystring-es3');
var escaped = querystring.escape('foo@bar.com');
var unescaped = querystring.unescape('foo%40bar.com');

Other packages similar to querystring-es3

Readme

Source

querystring-es3

Build Status

Build Status

Node API compliant querystring module for all browsers. (ES3 compatible)

Install

npm install querystring-es3

Usage

https://nodejs.org/dist/latest-v6.x/docs/api/querystring.html

Keywords

FAQs

Last updated on 06 Apr 2017

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