This package has been deprecated

Author message:

Please update @shapeshiftoss/hdwallet; this fork is no longer required.

@shapeshiftoss/ethers-units
TypeScript icon, indicating that this package has built-in type declarations

5.3.0-shapeshift.1 • Public • Published

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("@shapeshiftoss/ethers-units");

License

MIT License

/@shapeshiftoss/ethers-units/

    Package Sidebar

    Install

    npm i @shapeshiftoss/ethers-units

    Weekly Downloads

    1

    Version

    5.3.0-shapeshift.1

    License

    MIT

    Unpacked Size

    20.3 kB

    Total Files

    21

    Last publish

    Collaborators

    • 0xgomes
    • giantkin
    • 0xean
    • kmart13
    • shapeshift-ci-bot
    • tech-keepkey