ui-state

1.0.0 • Public • Published

UI-state

Conversion tool to transform UI state object to readable url query params and back.

Conventions

  1. All strings are processed AS IS.
  2. Numbers are converted to strings. and prepended with \ (123 -> '\123').
  3. Null, true, false and undefined are converted to strings and prepended with \ (false -> '\false').
  4. Objects with depth over 2 are not accepted, Error will be raised.

Tests

Tests and coverage

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i ui-state

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • nkbt