Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/delfimov/js-uri-values


https://github.com/delfimov/js-uri-values

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

URI values
==========

urivalues javascript library

Usage
-----

`uriValues.parse(hashValues);`

*hashValues* - URI to decode

`hashValues = uriValues.stringify(obj);`

*obj* - object to be encoded

Example

~~~~~~~~~~
hashValues = location.hash.slice(1);
values = uriValues.parse(hashValues);
hashValues = uriValues.stringify(values);
~~~~~~~~~