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

requestbin-cli

v1.0.1

Published

A Command Line Tool for the Request Bin Service

Downloads

1

Readme

Request Bin CLI

codecov Build Status

NPM

Purpose

Request Bin is a pretty cool service - wouldn't it be great to get bin and request details in the command line?

Installation

Install via NPM

npm install requestbin-cli

Usage

Create a Bin

rb create [-c / --copy] [-p / --private]

  • Use the -c or --copy flag to have the bin id copied to your clipboard.
  • Use the p or --private flag to create a "private" Request Bin.

alt-text

  • Note that there are four required fields:
    • Bin Id - this is Request Bin's id for some bin
    • Requests - the request count for a given bin
    • Private - indicates if a particular bin is private (or not)
    • Colors - I don't know what this is but it's part of the response

Get Bin Details

rb bin {requestBinId}

alt-text

Get Requests Details

rb requests {requestBinId}

alt-text

  • Note that there are three required fields:

    • Request ID - this is Request Bin's id for each request in a given bin
    • Method - this is the HTTP verb associated with a given request
    • Executed At - timestamp associated with a given request
  • There are also two optional fields:

    • Query Parameters - If a request has any query parameters, they will be listed here
    • Form Data - If a request has any form information, they will be listed here

Get Request Details

rb request {requestBinId} {requestId}

alt-text