This is great! Proper support for this has been lacking in the Node world. I recommend json-bignum [1] if you need a Node library for JSON serialization that can handle large numbers. For example, retrieving a JSON-formatted row from Postgres which has int64 or numeric values. It is slower than the native JSON functions though.
Indeed. And, interestingly, Decimal.format (alone?) is declared with dot notation[0]. Overall coding style feels relatively consistent so there must be some reasoning behind these decisions.
1. https://github.com/datalanche/json-bignum
Disclaimer: I wrote json-bignum.