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 🙏

© 2025 – Pkg Stats / Ryan Hefner

xprt

v1.4.0

Published

export git, github contribution data

Downloads

20

Readme

xprt

git, github 에 기여한 내역, 활동을 데이터로 만들기.

prerequisites

  • nodejs :arrow_up: v8.0.0
  • git :arrow_up: v2.0.0
  • git-extras

install

$ npm install -g xprt

commands

git <repos_dir>

git summary 명령어를 repos_dir 디렉토리에 위치한 저장소별로 수행하고, json (git.json) 으로 저장합니다. repos_dir 디렉토리는 아래와 같이 구성되어 있어야 합니다.

<repos_dir>
├── repo1
│   ├── .git
│   └── files...
├── repo2
│   ├── .git
│   └── files...
└── repo3
    ├── .git
    └── files...
{
  "created": "2018-10-27T16:05:01.752Z",
  "git": [{
    "project": "firejabber",
    "commits": "163",
    "files": "19",
    "lines": "3157",
    "authors": {
      "commit": [
        {
          "name": "chitacan",
          "value": "163",
          "ratio": "100.0%"
        }
      ],
      "line": [
        {
          "name": "chitacan",
          "value": "3157",
          "ratio": "100.0%"
        }
      ]
    }
  }, ...]
}

github

작성한 (authored) 이슈, 코멘트 (commented), 리뷰 (reviewed) 를 선택한 github org 에서 가져와 json (github.json) 으로 저장합니다.

{
  "created": "2018-10-27T16:05:01.752Z",
  "authored": [{
    "owner": "awesome",
    "repo": "ohno",
    "user": "chitacan",
    "title": "hooray",
    "number": 48,
    "state": "closed",
    "comments": 1,
    "reactions": {
      "url": "https://api.github.com/repos/awesome/ohno/issues/48/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0
    },
    "created_at": "2015-04-08T07:35:11Z",
    "is_pr": true
  }, ...],
  "commented": [{
    "owner": "awesome",
    "repo": "ohno",
    "user": "chitacan",
    "title": "hooray",
    "number": 48,
    "state": "closed",
    "comments": [
      {
        "user": "chitacan",
        "created_at": "2015-02-23T08:25:12Z"
      }
    ],
    "reactions": {
      "url": "https://api.github.com/repos/awesome/ohno/issues/48/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0
    },
    "created_at": "2015-02-23T08:14:34Z",
    "is_pr": true
  }, ...],
  "reviewed": [{
    "owner": "awesome",
    "repo": "ohno",
    "user": "chitacan",
    "title": "i'm hyped",
    "number": 48,
    "state": "open",
    "comments": 2,
    "reactions": {
      "url": "https://api.github.com/repos/awesome/ohno/issues/48/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0
    },
    "created_at": "2018-10-08T10:00:38Z",
    "is_pr": true,
    "reviews": [{
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T02:18:31Z"
    }, {
      "user": "chitacan",
      "state": "CHANGES_REQUESTED",
      "submitted_at": "2018-10-10T05:41:45Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:31:57Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:32:25Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:32:38Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:32:58Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:33:12Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:33:52Z"
    }, {
      "user": "chitacan",
      "state": "COMMENTED",
      "submitted_at": "2018-10-10T11:36:17Z"
    }]
  }, ...]
}

star

star 내역을 starred.json 파일에 저장합니다.

{
  "created": "2018-10-27T16:05:01.752Z",
  "starred": [{
    "starredAt": "2010-05-25T19:06:19Z",
    "name": "scriptaculous",
    "url": "https://github.com/awesome/ohno",
    "languages": [{
      "name": "JavaScript",
      "color": "#eee"
    }, ...],
    "topics": [{
      "name": "topic"
    }, ...]
  }, ...]
}

share <files...>

files 에 해당하는 파일들을 private gist 에 저장합니다.

why?

  • https://beta.observablehq.com/@chitacan/summary-of-my-github-org-contributions