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 🙏

© 2025 – Pkg Stats / Ryan Hefner

amo-cli

v0.2.2

Published

A CLI tool used to interact with the Firefox AMO (https://addons.mozilla.org).

Downloads

11

Readme

amo-cli

npm language: javascript license: MIT

A CLI tool used for interacting with https://addons.mozilla.org.

Use amo to search for and explore all of the extensions and themes listed on Firefox AMO. Features include:

  • search functionality with numerous filtering and sorting capabilities
  • ability to see the latest featured add-ons
  • interactivity that allows you to see an add-on's details like authors, daily users, version, and more!

Install

npm install -g amo-cli

Usage

$ amo <command> <flags>

Some example usages:

Search for add-ons with the query 'antivirus', limited to only 5 results and interactive mode enabled.

$ amo search -ip 5 -q 'antivirus'
40 add-ons for "antivirus"
? Which add-on would you like to explore: (Use arrow keys)
❯ Antivirus Online Scanner
  adaware ad block
  Antivirus Robot
  Link Virus Check - Security Plus
  Web Safer with VirusTotal

Get 3 featured add-ons of type 'extension' with their AMO urls displayed.

$ amo featured --page-size 3 -ut extension
Featured add-ons
· Emoji Cheatsheet
   https://addons.mozilla.org/en-US/firefox/addon/emoji-cheatsheet/
· Reverse Image Search
   https://addons.mozilla.org/en-US/firefox/addon/capture-reverse-image-search/
· Honey
   https://addons.mozilla.org/en-US/firefox/addon/honey/

Commands:

| command | flags | description | | --- | --- | --- | | featured | -i, --interactive | allows for selecting add-ons to explore their full info | | | -p, --page-size | the number of add-ons to get | | | -u, --show-url | display the add-on's AMO url | | | -t, --type | filter by add-on type | | | | search | -i, --interactive | allows for selecting add-ons to explore their full info | | | -q, --query | the search query (maximum allowed length is 100 characters | | | -p, --page-size | the number of add-ons to get | | | -u, --show-url | display the add-on's AMO url | | | -s, --sort | sorting parameters | | | -t, --type | filter by add-on type | | | | locale | | launch the locale selection prompt, overriding the previously-set locale | | | | help | | displays the default help message | | | command | displays the help message for the given command | | | | version | | displays the currently-installed version of amo-cli |

Flag Types and Options:

| flag | type | possible values | | --- | --- | --- | | -i, --interactive | Boolean | Default: false - if present, set to true. Otherwise, is false | | -p, --page-size | Number | Default: 25 - zero (0) to total number of add-ons for given query | | -q, --query | String | Default: N/A - The maximum length allowed is 100 characters. | | -s, --sort | String | Default: downloads - can be any one or multiple of: created, downloads, hotness, random, rating, relevance, updated, or users. See http://addons-server.readthedocs.io/en/latest/topics/api/addons.html#addon-search-sort for more detail. | | -t, --type | String | Defaults: extension - can be any one of: theme*, search*, persona, language*, extension, or dictionary* | | -u, --show-url | Boolean | Default: false - if present, set to true. Otherwise, is false |

Note: the type marked with an asterisk will return zero results when used with the featured command

amo-cli utilizes the AMO addons-server API. To read the addons-server API documentation, see: http://addons-server.readthedocs.io/en/latest/topics/api/overview.html. View the addons-server source code on GitHub: https://github.com/mozilla/addons-server.

Contributing

Your contributions are always welcome! See an issue you want to tackle or have an idea for a feature you would like implemented? Just open a pull-request with a short explanation of the changes and I'd be happy to review it. :tada:

License

This project is licensed under the MIT License - see the LICENSE file for details.