Socket
Socket
Sign inDemoInstall

js-query-string-object

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    js-query-string-object

A tiny library that helps convert a javascript object into valid query string parameters


Version published
Weekly downloads
2
Maintainers
1
Install size
3.88 kB
Created
Weekly downloads
 

Readme

Source

query-string-data

Build Status

A tiny library that helps convert a javascript object into valid query string parameters.

Example Usage

const {queryString} = require('js-query-string-object')
const queryObject = {
  firstName: 'Stephen',
  lastName: 'Kenigbolo'
}
console.log(queryString(queryObject))

// expected output -> ?firstName=Stephen&lastName=Kenigbolo

Note

This package was built as a tiny utility to enable query string formatting from javascript objects which are being used as query params for get request. If you require a more extensive use case or robust parameter support kindly make a feature request and lets work together to help you with whatever your request might be.

Keywords

FAQs

Last updated on 31 Dec 2018

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