UNPKG

json-bignumber

Version:

JSONBigNumber.parse/stringify handling **all** JSON numbers using BigNumber. Based on Douglas Crockford [JSON.js](https://github.com/douglascrockford/JSON-js) package and [bignumber.js](https://github.com/MikeMcl/bignumber.js) library.

42 lines 906 B
{ "env": { "browser": true, "amd": true, "node": true, "commonjs": true, "jasmine": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 6, "sourceType": "module" }, "rules": { "quotes": [ 2, "double", { "avoidEscape": true } ], "semi": [ 2, "always" ], "no-mixed-spaces-and-tabs": [2, "smart-tabs"], "no-console": [0], "indent": ["error", 4, { "ignoreComments": true }], "no-control-regex": "off", "no-misleading-character-class": "off" }, "globals": { "module": true, "inject": true, "process": true, "exports": true, "BigNumber": true, "JSONBigNumber": true } }