# qs-hash

> encode and decode query strings with optional encodeuricomponent

Latest version **0.0.0** (published 2013-10-03) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install qs-hash
pnpm add qs-hash
yarn add qs-hash
bun add qs-hash
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2013-10-03 |
| First published | 2013-10-03 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Tom MacWright |
| Maintainers | tmcw |
| Keywords | encode, decode, querystring |

## Links

- npm: https://www.npmjs.com/package/qs-hash
- Repository: https://github.com/mapbox/qs-hash
- Issues: https://github.com/mapbox/qs-hash/issues
- npm.io page: https://npm.io/package/qs-hash

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 0.0.0 (latest) — 2013-10-03

## README

# qs-hash

A simple querystring encoder and decoder, with an option to skip encoding
URL components if you're going to use the encoded strings in URL hashes
rather than the path segment.

As seen in [iD](https://github.com/systemed/iD) and [geojson.io](http://geojson.io/).

## usage

    npm install --save qs-hash

## api

### `qsString(object, noencode)`

Encode an object to a string, `noencode` decides whether it skips encoding

### `stringQs(string)`

Decode a string to an object.

---
_Source: https://npm.io/package/qs-hash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
