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

recently-published

v0.8.2

Published

A simple CLI tool to get the most recently published versions of a package on npm or see which install package versions were most recently published.

Downloads

24

Readme

recently-published

A simple CLI tool to get the most recently published versions of a package on npm or see which installed package versions were most recently published.

Usage

Usage: recently-published [options] [optionalPackageName]

Arguments:
  optionalPackageName       Optional package name whose recently published versions you want to see. If not provided, will display recently published packages installed in the current directory.

Options:
  -V, --version             output the version number
  -d, --display <number>    Number of recently published versions you would like displayed or "all" if you want to display all of them (default: "5")
  -ep, --excludePrerelease  Exclude prerelease versions from the list of recently published versions
  --json                    Output the result in JSON format
  -h, --help                display help for command

Examples

Get 5 most recently published packages installed in the current directory

npx recently-published

returns

 Name                       Version  Published     Date                   
 eslint                     9.10.0   46 hours ago  Fri Sep 6 2024 4:26 PM
 @eslint/js                 9.10.0   46 hours ago  Fri Sep 6 2024 4:06 PM
 picocolors                 1.1.0    5 days ago    Mon Sep 2 2024 7:46 PM
 typescript-eslint          8.4.0    6 days ago    Mon Sep 2 2024 1:16 PM
 @typescript-eslint/parser  8.4.0    6 days ago    Mon Sep 2 2024 1:16 PM

Get 5 most recently published versions of "react"

npx recently-published react

returns

 react
 Version                               Published   Date                    
 0.0.0-experimental-a03254bc-20240905  2 days ago  Fri Sep 6 2024 12:20 PM
 19.0.0-rc-a03254bc-20240905           2 days ago  Fri Sep 6 2024 12:18 PM
 0.0.0-experimental-4c58fce7-20240904  3 days ago  Thu Sep 5 2024 12:20 PM
 19.0.0-rc-4c58fce7-20240904           3 days ago  Thu Sep 5 2024 12:18 PM
 0.0.0-experimental-d1afcb43-20240903  4 days ago  Wed Sep 4 2024 12:20 PM

Get 5 most recently published versions of "react" excluding prerelease versions

npx recently-published react -ep

returns

 react
 Version  Published     Date                     
 18.3.1   4 months ago  Fri Apr 26 2024 12:42 PM
 18.3.0   4 months ago  Thu Apr 25 2024 12:45 PM
 18.2.0   2 years ago   Tue Jun 14 2022 3:46 PM
 18.1.0   2 years ago   Tue Apr 26 2022 4:40 PM
 18.0.0   2 years ago   Tue Mar 29 2022 12:00 PM

Get all published versions of "ink-spinner" sorted by publish date

npx recently-published ink-spinner -d all

returns

 ink-spinner
 Version  Published      Date                     
 5.0.0    18 months ago  Wed Mar 1 2023 4:04 PM
 4.0.3    2 years ago    Tue Oct 5 2021 1:19 PM
 4.0.2    3 years ago    Fri May 7 2021 3:09 PM
 4.0.1    4 years ago    Tue Aug 18 2020 2:58 PM
 4.0.0    4 years ago    Sun Jul 26 2020 3:49 PM
 4.0.0-0  4 years ago    Tue Jun 23 2020 3:51 PM
 3.1.0    4 years ago    Tue Jun 23 2020 3:22 PM
 3.0.1    5 years ago    Sun Apr 14 2019 11:14 PM
 3.0.0    5 years ago    Mon Mar 4 2019 2:59 AM
 2.0.0    6 years ago    Sun May 20 2018 2:58 PM
 1.0.0    7 years ago    Sat Jul 15 2017 3:10 PM