@quais/units
v0.1.0
Published
Unit conversion functions for Ethereum.
Downloads
135
Readme
Ethereum Unit Conversion Utilities
This sub-module is part of the quais project.
It contains functions to convert between string representations and numeric representations of numbers, including those out of the range of JavaScript.
For more information, see the documentation.
Importing
Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.
const {
formatUnits,
parseUnits,
formatEther,
parseEther,
commify
} = require("@quais/units");
License
MIT License