bignumberify
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "bignumberify", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A parser to correctly recreate BigNumber items in a JSON", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/sullof/bignumberify#readme", |
@@ -24,11 +24,24 @@ # bigNumberify | ||
Use with | ||
In a Node app load as | ||
``` | ||
const bigNumberify = require("bignumberify") | ||
const obj = bigNumberify(JSON.parse(jsonStr)) | ||
const bigNumberify = require("bignumberify"); | ||
``` | ||
In a ES6 app, load as | ||
``` | ||
import {bigNumberify} from "bignumberify"; | ||
``` | ||
Use as | ||
``` | ||
const obj = bigNumberify(JSON.parse(jsonStr)); | ||
``` | ||
## History | ||
**0.0.2** | ||
- No real change. Just a better README | ||
**0.0.1** | ||
@@ -35,0 +48,0 @@ - First version |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12677
56