URL Object Notation. JSON-like encoding for URLs
npm install urlonAn Object Notation like JSON but for URLs.
Read the full explanation on @vjeux blog:
http://blog.vjeux.com/2011/javascript/urlon-url-object-notation.html
Note that format is slightly changed since article was published, but main idea remains the same.
``sh`
npm install urlon`javascript`
var URLON = require('urlon');
html
`Usage
$3
`javascript
URLON.stringify({"table":{"achievement":{"column":"instance","ascending":true}}})// Output: '$table$achievement$column=instance&ascending:true'
`$3
`javascript
URLON.parse('$table$achievement$column=instance&ascending:true')// Output: {"table":{"achievement":{"column":"instance","ascending":true}}}
`Projects using URLON
* url-mapper -
@cerebral/router` default mapper for URLsSee releases