A simple unit converter for Ethereum, because finney, szabo, and wei are less intuitive than SI units for people like me.
$ npm install -g ethereum-units
$ ethunits 1 babbage wei
1000000 wei
$ ethunits 1 wei
0.000000000000000001 ether
$ ethunits -e 1 wei
1E-18 ether
ethunits = require('ethereum-units');
ethunits.convert(1, 'babbage', 'wei');
Returns BigDecimal objects. Also exposes a units
object mapping unit names to BigDecimal
representations of how much wei each unit consists of.