Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

object-query-string

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-query-string - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

package.json
{
"name": "object-query-string",
"version": "1.0.2",
"version": "1.0.3",
"description": "Stringify objects as URL Query Strings, a lightweight mock of jQuery.param without any dependencies!",

@@ -16,4 +16,6 @@ "author": "ΔO - David Obdržálek <david@deltazero.cz>",

"querystring",
"query-string",
"stringify",
"object"
"object",
"url"
],

@@ -20,0 +22,0 @@ "repository": "deltazero-cz/node-object-string-query",

@@ -11,6 +11,6 @@ # Object Query String

// TypeScript
import { queryString } from './index';
import { queryString } from 'object-query-string';
// Node.js
const { queryString } = require("./index");
const { queryString } = require("object-query-string");

@@ -34,4 +34,18 @@ const query = queryString({

### Options
```javascript
// queryString(params : string, options : object|undefined)
// default options
queryString(params, {
separator: '&', // string
encode: encodeURIComponent, // function(string) : string
encodeBrackets: false, // foo[baz]=1 or foo%5Bbaz%5D=1
});
```
-----
Inspired by [jQuery](https://jquery.com)!
Inspired by [jQuery](https://jquery.com)'s param!
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