rison-node
rison-node copied to clipboard
> Downloads: > ... > - [rison.py](http://freebase-python.googlecode.com/svn/trunk/freebase/rison.py) contains a decoder in Python. > That link does not work @abubelinha
Adding TS definitions would help with type safety
The URL-friendliness goes away as soon as floating point numbers are used at all. It would be nice to be be able specify that we only need 3 digits (or...
Example: ```js const obj = { '153': 153, '1000': 1000, '0.5': 0.5, '-1': -1, '1e3': 1000, '0x99': 153, '9007199254740993': 9007199254740992, '9007199254740992': 9007199254740992, } const encoded = rison.encode(obj); // (-1:-1,0.5:0.5,0x99:153,1000:1000,153:153,1e3:1000,9007199254740992:9007199254740992,9007199254740993:9007199254740992) console.log(encoded);...