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.
npm install --save qs-hash
Encode an object to a string, noencode
decides whether it skips encoding
Decode a string to an object.