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 🙏

© 2024 – Pkg Stats / Ryan Hefner

askme

v0.1.1

Published

AskMe Node Client

Downloads

4

Readme

AskMe-Node

Build Status

AskMe Node Client

Use Case

See use case

Installation

npm install askme -g

Usage



  Options:

    -h, --help                   output usage information
    -f, --fields <fields>        Specified fields to retrieve (comma-seperated)
    -d, --delimiter <delimiter>  Delimiter (default is " | " with spaces)
    -o, --omit-columns           Omit Columns

Examples


# Get list of digitalocean's supported distribution image.
# In this case, we are querying for digitalocean's "dist-image" record
askme do dist-image

  Output:
    Id: centos-5-8-x32   | Description: Centos 5.8 32bit
    Id: centos-5-8-x64   | Description: Centos 5.8 64bit
    Id: centos-6-5-x32   | Description: Centos 6.5 32bit
    Id: centos-6-5-x64   | Description: Centos 6.5 64bit
    Id: centos-7-0-x64   | Description: Centos 7.0 64bit
    Id: coreos-alpha     | Description: CoreOS Alpha
    Id: coreos-beta      | Description: CoreOS Beta
    Id: coreos-stable    | Description: CoreOS Stable
    Id: debian-6-0-x32   | Description: Debian 6.0 32bit
    Id: debian-6-0-x64   | Description: Debian 6.0 64bit
    Id: debian-7-0-x32   | Description: Debian 7.0 32bit
    Id: debian-7-0-x64   | Description: Debian 7.0 64bit
    Id: debian-8-x32     | Description: Debian 8 32bit
    Id: debian-8-x64     | Description: Debian 8 64bit
    Id: fedora-21-x64    | Description: Fedora 21 64bit
    Id: fedora-22-x64    | Description: Fedora 22 64bit
    Id: freebsd-10-1-x64 | Description: FreeBSD 10.1 64bit
    Id: freebsd-10-2-x64 | Description: FreeBSD 10.2 64bit
    Id: ubuntu-12-04-x32 | Description: Ubuntu 12.04 32bit
    Id: ubuntu-12-04-x64 | Description: Ubuntu 12.04 64bit
    Id: ubuntu-14-04-x32 | Description: Ubuntu 14.04 32bit
    Id: ubuntu-14-04-x64 | Description: Ubuntu 14.04 64bit
    Id: ubuntu-15-04-x32 | Description: Ubuntu 15.04 32bit
    Id: ubuntu-15-04-x64 | Description: Ubuntu 15.04 64bit



# Omit columns and only show ids
askme do dist-image -o --fields="id"

  Output:
	centos-5-8-x32
    centos-5-8-x64
    centos-6-5-x32
    centos-6-5-x64
    centos-7-0-x64
    coreos-alpha
    coreos-beta
    coreos-stable
    debian-6-0-x32
    debian-6-0-x64
    debian-7-0-x32
    debian-7-0-x64
    debian-8-x32
    debian-8-x64
    fedora-21-x64
    fedora-22-x64
    freebsd-10-1-x64
    freebsd-10-2-x64
    ubuntu-12-04-x32
    ubuntu-12-04-x64
    ubuntu-14-04-x32
    ubuntu-14-04-x64
    ubuntu-15-04-x32
    ubuntu-15-04-x64



# Change delimiter value. Query google compute engine's supported disk type
askme gcloud gce-disk-type --delimiter=" || "

  Output:
    Id: local-ssd   || Description: Local SSDs
    Id: pd-ssd      || Description: SSD Persistent Disk
    Id: pd-standard || Description: Standard Persistent Disk

Testing

npm test

Supported fields

See supported fields

Supported records

See supported records

Note

Do not modify source directory. We use git subtree to push source data to source directory. If you want submit PR for changes in source data, submit it at AskMe main repo.