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

opensoda-cli

v2.0.3

Published

Opendigger cli research tool, please feel free to explore indexes of repositories on Github! **Powered By X-lab2017**

Downloads

20

Readme

This tool is developed by LazyAnalysis group in Opendigger competition.

LazyAnalysis

About this project

A terminal tool to have a easy view of metrics of popular github repositories. Apis in this tool are supported by X-lab2017.

This project is powered🚀 by create-node-cli, and its project site: https://www.npmjs.com/package/create-node-cli

Node version: 18.17.0

To ensure smooth execution of this TypeScript project, it's recommended to run tsc --watch in a separate terminal to listen for project changes before executing the project. If you haven't installed TypeScript yet, you'll need to run npm install typescript -g to install it.

Install

This repository uses pnpm as its package manager. Before starting to use it, make sure you have installed pnpm, which can be viewed by command pnpm -v, and if pnpm is not installed, just type in npm i pnpm -g to install it!

To install this tool, run pnpm install and npm link under the sorce code folder.

pnpm install
npm link

or you can just install by npm -g:

npm i opensoda-cli -g

Usage

Run opendigger -h for detail.

basic usage template:

opendigger -r <author/repo-name> [-m <metric> -t <time> -d]

here are some examples:

You can get openrank of valhalla/valhalla by typing in terminal:

opendigger -r=valhalla/valhalla -m=openrank

If you want to explore an another repo, just type in opendigger -r <author/repo_name> -m openrank to get the information. Here -r indicates a repository url, -m indicates the metric to be used.

For more information of metrics, please visit https://github.com/X-lab2017/open-digger#metrics-or-indices-usage. Hopefully you will be excited at the wonderful world. And I'm very appreciated of you to contribute to it!

You can also export report to local, just add -d choice. Have a try of

opendigger -r=valhalla/valhalla -m=openrank -d

the exported markdown includes picture generated by echarts and data you queried. The report and picture will be stored at ./opendigger-output/

What's more, you can specify a time to search one metric at specific time. This command

opendigger -r=valhalla/valhalla -m=openrank -t=2022-10

will return the activity metric of repository valhalla/valhalla in 2022-10 and save the result.

Searching all of the metrics at a specific time is supported, just without specifying metric argument. Try command

opendigger -r=valhalla/valhalla -t=2022-10

Now it is supported to search all of the metrics of all months:

opendigger -r=valhalla/valhalla -t=2022-10

Searching all of the metrics of all months, and store the report in markdown:

opendigger -r=valhalla/valhalla -d

the result will be very exciting!

Online experience 😋

To help experience this tool with no difficulties, we developed a website. This is how it looks like now:

More features are coming soon~