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

jetbrains-hacker

v1.0.3

Published

JetBrains code fetcher CLI tool

Readme

JetBrains License CLI Tool

A command-line tool for fetching JetBrains license codes from the daily updated license repository.

Features

  • 🚀 Real-time fetching: Automatically retrieves the license for today's date
  • 📅 Custom date support: Specify any date to get historical licenses
  • 🔍 Clean output: Returns only the license code without extra formatting
  • Fast and lightweight: Built with Node.js for optimal performance

Installation

Using npm

npm install -g jetbrains-hacker

Using pnpm

pnpm install -g jetbrains-hacker

Prerequisites

  • Node.js 16.x or higher
  • You may need modify your /etc/hosts with the following:
# ref: https://gist.github.com/ctracerpp/c137781fa407817f153195b5c18211c9?permalink_comment_id=5256857#gistcomment-5256857
#127.0.0.1 resources.jetbrains.com
#127.0.0.1 www.jetbrains.com
127.0.0.1 http://www.jetbrains.com
127.0.0.1 https://account.jetbrains.com:443
127.0.0.1 www-weighted.jetbrains.com
127.0.0.1 www-weighted.jetbrains.com
127.0.0.1 account.jetbrains.com
127.0.0.1 jrebel.npegeek.com
127.0.0.1 oauth.account.jetbrains.com
127.0.0.1 entry.prod-eu.w3jbcom.aws.intellij.net

Usage

Get Today's License

jb code

Get License for Specific Date

jb code --date 2025-07-08

Command Options

jb code [options]

Options:
  -d, --date <date>  specify date in YYYY-MM-DD format
  -h, --help         display help for command

Examples

# Get current date license
jb code

# Get license for July 8, 2025
jb code --date 2025-07-08

# Get license for yesterday
jb code --date 2025-07-07

Output Format

The tool returns the complete JetBrains license activation code in the format:

LICENSE_KEY-ENCODED_LICENSE_DATA-SIGNATURE

Error Handling

  • Invalid date format: Returns error message for dates not in YYYY-MM-DD format
  • Network errors: Handles connection issues gracefully
  • Missing license: Reports when no license is available for the specified date

Development

Project Structure

jetbrains-hacker/
├── bin/
│   └── jb.js          # Main CLI executable
├── package.json       # Project configuration
└── README.md         # This file

Running in Development

# Run directly with Node.js
node bin/jb.js code

# Or after linking
jb code

Technical Details

  • Language: JavaScript (ES Modules)
  • Runtime: Node.js
  • Dependencies:
    • commander: CLI argument parsing
    • node-fetch: HTTP requests
  • License source: https://gitee.com/superbeyone/J2_B5_A5_C4/raw/master/licenses/2025/

Contributing

Development Setup

git clone <repository-url>
cd jetbrains-hacker
npm install
npm link

Contributing Guidelines

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

ISC License

Disclaimer

This tool is for educational and research purposes only. Users are responsible for compliance with JetBrains' licensing terms and applicable laws.


Note: This tool fetches license information from a third-party repository. Availability and accuracy of license data depends on the external source.