New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

get-url-query

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-url-query

easily convert query to json

latest
npmnpm
Version
2.0.17
Version published
Maintainers
1
Created
Source

get-url-query

npm version github version

get-url-query is a package for easily convert query to json.

npm i get-url-query
# or
yarn add get-url-query
import getUrlQuery from "get-url-query";

// get query from `location.search`
getUrlQuery();

// get query from `string`
getUrlQuery("http://example.com/?hello=world&hi=joenix");

// expand location
location.query; // { hello: 'world', hi: 'joenix' }

Keywords

query

FAQs

Package last updated on 02 Feb 2023

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