qs-hash

0.0.0 • Public • Published

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 and 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.

Package Sidebar

Install

npm i qs-hash

Weekly Downloads

21

Version

0.0.0

License

BSD-2-Clause

Last publish

Collaborators

  • mapbox-admin