The Legion
Package Registry
Discover, install, and publish packages for the legionhjyu programming language.
One command to rule them all. legion pkg install <package>
legion pkg install legion-http
Popular packages
View all →Recently updated
View all →Everything you need to build with Legion
Install a package
Add any Legion package to your project in one command.
legion pkg install legion-httpSearch the registry
Find Legion packages by name, keyword, or author.
legion pkg search jsonPublish a package
Share your Legion modules with the community instantly.
legion pkg publishWhy Legion Registry?
Lightning fast
Powered by Cloudflare Pages — served from 300+ edge locations worldwide.
Secure by default
SHA-256 password hashing, Bearer token auth, rate limiting, XSS protection.
npm-quality CLI
20+ commands: install, audit, update, outdated, run scripts, pack, link, doctor.
Semver ranges
Full ^ ~ >= <= > < = range operator support. Lockfile generation.
Quality scores
Every package gets a quality score based on docs, keywords, versions, and downloads.
Open API
Full REST API at /api/v1/ — JSON, CORS-enabled, documented, free to use.