Open
Description
it would be useful to encode dimes into cords on a js client.
that way a client can send a typed atom instead of needing to handle
parsing on the backend.
for dates and numbers the encodings to strings are fairly simple:
~yyyy.m.d..h.mm.ss
0x0000.0000
etc
but i do not know of a way to do knot escaping in javascript.
please let me know if there's already a way to do this
so i propose adding to this js library +wood
, +woad
, and the js equivalents
of +rend:co
for turning JS objects into dime strings.
> (wood 'foo bar!')
~.foo.bar~21.
> (woad ~.foo.bar~21.)
'foo bar!'
Metadata
Metadata
Assignees
Labels
No labels