educhk 2026.2.19 → 2026.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,29 @@
1
1
  # educhk
2
2
 
3
- Lightweight academic domain checker for edge workers. O(1) lookups across 25,000+ educational institution domains sourced from [JetBrains Swot](https://github.com/JetBrains/swot).
3
+ Lightweight academic domain checker for edge workers. Fast lookups across 25,000+ educational institution domains sourced from .
4
4
 
5
5
  Zero dependencies. Works in Node.js, Cloudflare Workers, Deno, Bun, and browsers.
6
6
 
7
+ This package wouldn't be possible without the work of the contributor of [JetBrains Swot](https://github.com/JetBrains/swot).
8
+
9
+ ## Why another package?
10
+
11
+ The are more than 10 packages that take the data from [JetBrains Swot](https://github.com/JetBrains/swot) and package it for distribution under npmjs.com.
12
+
13
+ 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.
14
+
15
+ Freshness of this package is important because it is also distributing the "abuse" list. Which some of you might find useful.
16
+ I did try to reduce the size as much as possible, but 490kB was the best I could do.
17
+
18
+ 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
19
+
20
+ ## What is different from others
21
+
22
+ - The 'stoplist' is integrated in the `isAcademic` check
23
+ - Built every morning at around 6 UTC
24
+ - Loads all the domains in memory using sets
25
+ - Optimized for speed, not memory
26
+
7
27
  ## Install
8
28
 
9
29
  ```bash