Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 435 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 435 Bytes

Lightweight url query library

How to use

Include it in the page.

<script src="query.min.js"></script>

Use it:

  • UrlQuery.get(url, queryFieldName) -> return queryFieldName value
  • UrlQuery.update(url, queryFieldName, queryFieldValue) -> return url with added / updated field
  • UrlQuery.remove(url, queryFieldName) -> return url without the queryFieldName

License

This project is licensed under the MIT license.