New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qs-extra

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qs-extra

extended querystring module supporting add/remove parameters

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

qs-extra

The extended node.js querystring APIs supporting add/remove parameters.

Installation

$ npm install qs-extra

API

.add(str, key, val)

Add key/val pair to query string.

var qs = require('qs-extra');
qs.add('color=red', 'size', 'small');
// => 'color=red&size=small'

.remove(str, key, val)

Remove key's val from query string.

var qs = require('qs-extra');
qs.remove('color=red&size=small&size=large', 'size', 'large');
// => 'color=red&size=small'

General querystring APIs are also available through this module.

Testing

Install dev dependencies:

$ npm install -d

and execute:

$ make test

Keywords

FAQs

Package last updated on 04 Sep 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc