eth-unit-convertor-antier

1.0.4 • Public • Published

Eth Unit Converter - AntiEr

Eth Unit Converter is a package that allows you to convert Ethereum values into different units.

Installation

To install Eth Unit Converter, you can use npm:

npm i eth-unit-convertor-antier

Example Usage

// Import the UnitConverter
const UnitConverter = require('eth-unit-convertor-antier');

// Create an instance of the UnitConverter
const ethConverter = new UnitConverter();

// Convert 1 Ether to Wei
console.log(ethConverter.toWei(1));

Expected Output:

1000000000000000000

Supported Units

Eth Unit Converter supports the following units:

  • Wei
  • Kwei (Babbage)
  • Mwei (Lovelace)
  • Gwei (Shannon)
  • Szabo (Microether)
  • Finney (Milliether)
  • Ether

Author

@sandeep_antiersolutions

Package Sidebar

Install

npm i eth-unit-convertor-antier

Weekly Downloads

2

Version

1.0.4

License

ISC

Unpacked Size

16.7 kB

Total Files

5

Last publish

Collaborators

  • sandeep_antiersolutions