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 🙏

© 2026 – Pkg Stats / Ryan Hefner

educhk

v2026.2.20

Published

Lightweight academic domain checker for edge workers. O(1) lookups for 25k+ educational domains.

Downloads

968

Readme

educhk

Lightweight academic domain checker for edge workers. Fast lookups across 25,000+ educational institution domains sourced from .

Zero dependencies. Works in Node.js, Cloudflare Workers, Deno, Bun, and browsers.

This package wouldn't be possible without the work of the contributor of JetBrains Swot.

Why another package?

The are more than 10 packages that take the data from JetBrains Swot and package it for distribution under npmjs.com.

What I found lacking about them was that they were either stale or old. This not might be very important if you target the big institutions, but if you target anything else you might have a few surprises.

Freshness of this package is important because it is also distributing the "abuse" list. Which some of you might find useful. I did try to reduce the size as much as possible, but 490kB was the best I could do.

I optimized this package for deployment to CloudFlare, because it didn't make sense to have the whole domain list compiled for the frontend, when a milisecond request can be made

What is different from others

  • The 'stoplist' is integrated in the isAcademic check
  • Built every morning at around 6 UTC
  • Loads all the domains in memory using sets
  • Optimized for speed, not memory

Install

npm install educhk

Usage

import { isAcademic, isAbused } from 'educhk';

isAcademic('stanford.edu');          // true
isAcademic('cs.stanford.edu');       // true (walks up subdomains)
isAcademic('gmail.com');             // false
isAcademic('alumni.stanford.edu');   // false (stoplist excluded)

isAbused('gmail.com');               // true
isAbused('stanford.edu');            // false

API

| Export | Description | |---|---| | isAcademic(domain) | true if the domain is a known academic institution. Automatically excludes stoplist domains (e.g. alumni emails). Walks up subdomains. | | isAbused(domain) | true if the domain is flagged as commonly abused for fake signups. | | academicDomains | ReadonlySet<string> — 25k+ academic domains | | abusedDomains | ReadonlySet<string> — abused domains | | stoplistDomains | ReadonlySet<string> — stoplist domains |

How it works

Three flat JSON arrays are loaded into Set objects at import time for O(1) lookups. isAcademic walks up subdomains — cs.stanford.edu checks cs.stanford.edu, then stanford.edu, then edu — and excludes stoplist entries.

Data is synced daily from JetBrains Swot via GitHub Actions.

License

MIT