DevYK 8466310f0c update README.md il y a 3 ans
..
lib 8466310f0c update README.md il y a 3 ans
lib.esm 8466310f0c update README.md il y a 3 ans
src.ts 8466310f0c update README.md il y a 3 ans
LICENSE.md 8466310f0c update README.md il y a 3 ans
README.md 8466310f0c update README.md il y a 3 ans
package.json 8466310f0c update README.md il y a 3 ans

README.md

Ethereum Unit Conversion Utilities

This sub-module is part of the ethers 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("@ethersproject/units");

License

MIT License