StableLib / stablelib

A stable library of useful TypeScript/JavaScript code
https://www.stablelib.com
Other
173 stars 35 forks source link

[cbor] Support native JavaScript types bigint and symbol. #43

Open panzi opened 3 years ago

panzi commented 3 years ago

It would be nice if the native JavaScript type bigint would be supported and encoded as a PositiveBigNum/NegativeBigNum, and the type symbol could probably just be handled as a string? Though that symbol handling would not be round trip safe. But the bigint support would be good and unambiguous!