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

am-i-the-roll-king

v1.1.0

Published

# installation ``` npm i -g am-i-the-roll-king ``` # usage 正常使用

Downloads

4

Readme

am I the roll king(我是卷王吗)

installation

npm i -g am-i-the-roll-king

usage

正常使用

aitrk

查看参数

aitrk -h

options

     _                   ___    _____ _                ____       _ _       _  ___             
    / \   _ __ ___      |_ _|  |_   _| |__   ___      |  _ \ ___ | | |     | |/ (_)_ __   __ _ 
   / _ \ | '_ ` _ \ _____| |_____| | | '_ \ / _ \_____| |_) / _ \| | |_____| ' /| | '_ \ / _` |
  / ___ \| | | | | |_____| |_____| | | | | |  __/_____|  _ < (_) | | |_____| . \| | | | | (_| |
 /_/   \_\_| |_| |_|    |___|    |_| |_| |_|\___|     |_| \_\___/|_|_|     |_|\_\_|_| |_|\__, |
                                                                                         |___/ 
Usage: aitrk [options]

我是卷王吗?

Options:
  -p, --path <string>        扫描的文件夹路径,如:"/user/projects",默认是当前目录 
  -s, --since <date>         开始时间(YYYY-MM-DD),默认是当天
  -u, --until <date>         结束时间(YYYY-MM-DD),默认是当天
  -d, --deep <number>        扫描文件夹深度,默认扫描3层
  -a, --author <string>      作者,会取git config中的user.name,如果想匹配多个作者,可以用逗号分隔,如"zhangesan,lisi"
  -i, --ignoreFile <string>  忽略统计的文件,会忽略文件名中包含指定字符串的文件,多个字符串用逗号分隔,如"yarn.lock,package-lock.json",默认不统计package-lock.json,yarn.lock
  -ip,--ignoreProject <string>  忽略统计的项目名称,多个字符串用逗号分隔,如"project1,project2",默认不忽略任何项目
  -v, --version              版本号
  -h, --help                 帮助文档

示例:
    $ aitrk //统计当前用户,当前文件夹下,当天的代码提交情况,忽略package-lock.json,yarn.lock文件,扫描文件夹深度是3
    $ aitrk -s 2024-01-01 -u 2024-12-29 //统计当前用户,当前文件夹下,2024年1月1日到2024年12月29日的代码提交情况,忽略package-lock.json,yarn.lock文件,扫描文件夹深度是3
    $ aitrk -p "/user/project" //统计当前用户,/user/project文件夹下,2024年1月1日到2024年12月29日的代码提交情况,忽略package-lock.json,yarn.lock文件,扫描文件夹深度是3
    $ aitrk -d 5 //统计当前用户,当前文件夹下,当天的代码提交情况,忽略package-lock.json,yarn.lock文件,扫描文件夹深度是5
    $ aitrk -a "zhangsan,lisi" //统计zhangsan,lisi用户,当前文件夹下,当天的代码提交情况,忽略package-lock.json,yarn.lock文件,扫描文件夹深度是3
    $ aitrk -i "yarn.lock,package-lock.json,aaa.js" //统计当前用户,当前文件夹下,当天的代码提交情况,忽略yarn.lock,package-lock.json,aaa.js文件,扫描文件夹深度是3
    $ aitrk -ip "project1,project2" //统计当前用户,当前文件夹下,当天的代码提交情况,忽略project1,project2项目,忽略package-lock.json,yarn.lock文件,扫描文件夹深度是3
    $ aitrk -s 2024-01-01 -u 2024-12-29 -p "/user/project" -d 5 -a "zhangsan,lisi" -i "yarn.lock,package-lock.json,aaa.js" //统计zhangsan,lisi用户,/user/project文件夹下,2024年1月1日到2024年12月29日的代码提交情况,忽略yarn.lock,package-lock.json,aaa.js文件,扫描文件夹深度是5

screenshot

img