1.2.0 • Published 6 months ago
ethers-decimal-handler v1.2.0
My Ethers Decimal Handler Package
This is a simple package which helps you to convert string/numbers to wei or 18 decimal length.
Installation
You can install this package using npm and yarn:
Usage
Here's an example of how to use this package:
const {iAm18} = require('ethers-dechandler');
console.log(iAm18("21"))
output : 21000000000000000000