Socket
Socket
Sign inDemoInstall

@arcblock/forge-util

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/forge-util - npm Package Compare versions

Comparing version 0.25.0 to 0.25.2

12

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc