hildjj / node-cbor

Encode and decode CBOR documents, with both easy mode, streaming mode, and SAX-style evented mode.
MIT License
362 stars 74 forks source link

Switch to jsbi #90

Closed hildjj closed 3 years ago

hildjj commented 5 years ago

See https://github.com/dignifiedquire/borc/issues/37

hildjj commented 5 years ago

Hm. JSBI only supports bigints, and not float bignums. I assume people that want JSBI don't care about those?

vmx commented 5 years ago

We do care, but I didn't know that we need decimal support (I have use CBOR just a bit so far).

hildjj commented 5 years ago

I already added support for serializing JS bignums and parsing to them if you have bignum support. It was just a few lines of code, and probably does a bunch of what you want.

hildjj commented 3 years ago

OK, now that I've made BigInts on by default in v6.0.0, I'm going to close this as "overcome by events".