npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ethy

v1.0.1

Published

Tiny command line utils for ethereum development and learning

Readme

Ethy

npm npm bundle size

A tiny command line utility for learning and developing on Ethereum.

Implemented as a commanderJS wrapper around the ethersJS, where possible it uses the same function signatures.

Installation

The most convenient way is to install the package globally, that you can run ethy <command> from any directory.

npm i -g ethy

Examples

View all available commands

ethy --help

Commands:
  getBalance [options] <addressOrName>  get the balance of an account
  lookupAddress [options] <address>     lookup the ENS name associated with an address
  resolveName [options] <name>          lookup the address associated with an ENS name
  getGasPrice [options]                 returns current estimated gas price
  convertWei <amount>                   returns input amount in wei, gwei and eth
  keccak256 <input>                     returns the KECCAK256 hash of the text bytes
  help [command]                        display help for command

Get Balance

Get the eth balance of an address or ENS name.

$ ethy getBalance vitalik.eth

3207.586970447020180416 eth

You can optionally specify network to target testnets.

$ ethy getBalance 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --network rinkeby

0.410338958929449048 eth

ENS Lookup and Resolution

Another common operation is resolving ENS names in both directions

$ ethy resolveName vitalik.eth

0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
$ ethy lookupAddress 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

vitalik.eth

Get current gas price

$ ethy getGasPrice

27.872450494 gwei

Convert Wei

Much quicker than googling wei to eth converter five times a day

$ ethy convertWei 100000000000

100.0 gwei
0.0000001 eth

Convert Wei

Check the keccak256 hash value of a string

$ ethy keccak256 "hello world"

0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad