# @lion.wang/get-query-param

> get Query Param

Latest version **0.1.0** (published 2021-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lion.wang/get-query-param
pnpm add @lion.wang/get-query-param
yarn add @lion.wang/get-query-param
bun add @lion.wang/get-query-param
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-06-26 |
| First published | 2021-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lion.Wang |
| Maintainers | lion.wang |

## Links

- npm: https://www.npmjs.com/package/@lion.wang/get-query-param
- Repository: https://github.com/wb670/getQueryParam
- Homepage: https://github.com/wb670/getQueryParam#readme
- Issues: https://github.com/wb670/getQueryParam/issues
- npm.io page: https://npm.io/package/@lion.wang/get-query-param

## Recent versions

- 0.1.0 (latest) — 2021-06-26
- 0.0.2 — 2021-06-26
- 0.0.1 — 2021-06-26

## README

<!--
 * @Date: 2021-06-26 18:34:30
 * @LastEditors: lion.wang
 * @FilePath: /getQueryParam/README.md
-->
## getQueryParam

### Install
```
npm i -s @lion.wang/get-query-param
```

### Example

```javascript

import getQueryParam from "@lion.wang/get-query-param"

//https://localhost/demo.html?a=1&b=2&c=3

const query = getQueryParam ()
console.log(query)
//{a:"1",b:"2",c:"3"}

const query = getQueryParam ('a')
console.log(query)
// 1

const query = getQueryParam ('a','b')
console.log(query)
// {a:"1",b:"2"}

const query = getQueryParam ('d')
console.log(query)
// null

const query = getQueryParam ('a','b','d')
console.log(query)
// {a:"1",b:"2"}

```

---
_Source: https://npm.io/package/@lion.wang/get-query-param · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
