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

gitilang

v1.3.4

Published

Welcome to Gitilang Find πŸ”Ÿ languages that you mostly use ❀️

Downloads

5

Readme

GitiLang

Welcome to Gitilang Find πŸ”Ÿ languages that you mostly use ❀️

Installation

  • You must have installed NodeJS in your machine.

  • You have a GitHub Account

    STEPS

    1. Here's are steps to get GitHub Token.
    • Visit https://github.com/settings/profile
    • Visit inside Developers Settings > Personal access tokens.
    • Click on Generate new token.
    • Inside Select scope select all repo scope.
    • Now you copy your token.
    1. Open your terminal
    • Export your copied token as
      $> export GITHUB_TOKEN=YOUR_COPIED_TOKEN
    • Install gitilang package
      $> npm install -g gitilang
    • Verify gitilang is installed
      $> gitilang

Usage

  • Note: Gitilang only show public repo statistics.
  • Consider you want to see Google used top 10 languages.
  • Open terminal
# Verify gitilang is globally installed!
$> gitilang
VERSION
  gitilang/1.0.0 linux-x64 node-v10.14.2 # May vary version.

USAGE
  $ gitilang [COMMAND]

COMMANDS
  help  display help for gitilang
  show  Show you have used top 10 languages in Github Account :D

# Show all commands
$> gitilang help

# Particular command help
$> gitilang show -h
Show you have used top 10 languages in Github Account :D

USAGE
  $ gitilang show [USERNAME]

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  export GITHUB_TOKEN=YOUR_TOKEN
  $> gitilang show [UserName]
  $> gitilang show BhautikChudasama

# We want to see Google used top 10 languages
$> gitilang show google
# Remember Google is organization so select org
? Given Username is Organization or User? …
β–Έ org
  user
βœ… Repositories Fetched!
βœ… Repositories languages analyzed!
# Do you want to export fetched languages data, This case no
? Do you want to export fetched data? …
   yes
β–Έ  no
# Now you see Google have used top 10 languages bytes.
βœ” Do you want to export fetched data? Β· no
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ (index) β”‚      0       β”‚    1     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚    0    β”‚ 'JavaScript' β”‚ 14099827 β”‚
β”‚    1    β”‚    'C++'     β”‚ 13078046 β”‚
β”‚    2    β”‚    'Java'    β”‚ 7022866  β”‚
β”‚    3    β”‚    'TeX'     β”‚ 6184970  β”‚
β”‚    4    β”‚    'HTML'    β”‚ 1742227  β”‚
β”‚    5    β”‚   'Python'   β”‚  530826  β”‚
β”‚    6    β”‚    'CSS'     β”‚  487097  β”‚
β”‚    7    β”‚     'C'      β”‚  285801  β”‚
β”‚    8    β”‚  'Starlark'  β”‚  246761  β”‚
β”‚    9    β”‚   'Kotlin'   β”‚  121027  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

# Column 0 repesents language name
# Column 1 repesents language bytes

Docker Usage

You can also use docker to used our CLI.

# Pull docker image
$> docker pull bhautikchudasama/gitilang

# Run
$> docker run -i -e GITHUB_TOKEN=YOUR_COPIED_TOKEN bhautikchudasama/gitilang google

# -i => Interactive to retain CLI
# -e => Pass your GITHUB_TOKEN to container
# google => We want to see google has used top 10 languages in their public Github repositories. 

Contributors

  • BhautikChudasama (@bhautiktweets).