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

add-query-params-to-url

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-query-params-to-url - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "add-query-params-to-url",
"version": "1.0.5",
"version": "1.0.6",
"description": "lightweight utility for adding formatted query parameters to get request url.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,3 +25,15 @@ # add-query-params-to-url

// url argument is optional, it just prepends the formatted parameters to the end of the url.
fetch(`${url}${addParams({
auth: 'bearer',
token: '12345',
username: 'ynautwobbuffet',
password: '42069'
})}`, {
method: 'GET'
})
```
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