@ethersproject/units
Unit conversion functions for Ethereum.
Last updated a year ago by ricmoo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ethersproject/units 
SYNC missed versions from official npm registry.

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

Current Tags

  • 5.8.0                                ...           latest (a year ago)

38 Versions

  • 5.8.0                                ...           a year ago
  • 5.7.0                                ...           4 years ago
  • 5.6.1                                ...           4 years ago
  • 5.6.0                                ...           4 years ago
  • 5.5.0                                ...           4 years ago
  • 5.4.0                                ...           5 years ago
  • 5.3.0                                ...           5 years ago
  • 5.2.0                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.11                                ...           5 years ago
  • 5.0.10                                ...           5 years ago
  • 5.0.9                                ...           5 years ago
  • 5.0.8                                ...           5 years ago
  • 5.0.7                                ...           5 years ago
  • 5.0.6                                ...           6 years ago
  • 5.0.5                                ...           6 years ago
  • 5.0.4                                ...           6 years ago
  • 5.0.3                                ...           6 years ago
  • 5.0.2                                ...           6 years ago
  • 5.0.1                                ...           6 years ago
  • 5.0.0                                ...           6 years ago
  • 5.0.0-beta.133                                ...           6 years ago
  • 5.0.0-beta.132                                ...           6 years ago
  • 5.0.0-beta.131                                ...           6 years ago
  • 5.0.0-beta.130                                ...           6 years ago
  • 5.0.0-beta.129                                ...           7 years ago
  • 5.0.0-beta.128                                ...           7 years ago
  • 5.0.0-beta.127                                ...           7 years ago
  • 5.0.0-beta.126                                ...           7 years ago
  • 5.0.0-beta.125                                ...           7 years ago
  • 5.0.0-beta.124                                ...           7 years ago
  • 5.0.0-beta.123                                ...           7 years ago
  • 5.0.0-beta.122                                ...           7 years ago
  • 5.0.0-beta.121                                ...           7 years ago
  • 5.0.0-beta.120                                ...           7 years ago
  • 5.0.0-beta.119                                ...           7 years ago
  • 5.0.0-beta.118                                ...           7 years ago
  • 5.0.0-beta.117                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |