@arcblock/forge-util
Advanced tools
Comparing version 0.25.0 to 0.25.2
{ | ||
"name": "@arcblock/forge-util", | ||
"version": "0.25.0", | ||
"version": "0.25.2", | ||
"description": "utils shared across mutlipe forge js libs, works in both node.js and browser", | ||
@@ -25,5 +25,9 @@ "keywords": [ | ||
}, | ||
"author": "wangshijun <wangshijun2010@gmail.com>", | ||
"author": { | ||
"name": "wangshijun", | ||
"email": "shijun@arcblock.io", | ||
"url": "https://github.com/wangshijun" | ||
}, | ||
"homepage": "https://github.com/ArcBlock/forge-js#readme", | ||
"license": "MIT", | ||
"license": "Apache-2.0", | ||
"main": "lib/index.js", | ||
@@ -49,3 +53,3 @@ "files": [ | ||
}, | ||
"gitHead": "3cdb22e676cc7ed25a9c90579b3296bf84e5edcf" | ||
"gitHead": "a2ad69756657ed248ab333acbf666a00942af79f" | ||
} |
@@ -5,3 +5,2 @@ # `@arcblock/forge-util` | ||
## Usage | ||
@@ -18,5 +17,5 @@ | ||
console.log(Util.fromTokenToUnit(100)); // 100_0000_0000_0000_0000 | ||
console.log(Util.fromTokenToUnit(100)); // 100_0000_0000_0000_0000 | ||
console.log(Util.fromUnitToToken('1000000000000000000')); // 100 | ||
console.log(Util.isStrictHex('0x123abc')); // true | ||
console.log(Util.isStrictHex('0x123abc')); // true | ||
``` | ||
@@ -26,5 +25,4 @@ | ||
## Documentation | ||
For full documentation, checkout [README.md](./docs/README.md). |
Sorry, the diff of this file is not supported yet
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
14992
26