To use Frea globally with npm
To use Frea globally with yarn
To use Frea for a single project
echo "https://registry.freajs.org" >> .npmrc
What is Frea?
Frea is different
We use Cloudflare workers to load balance across our donated mirrors.
For example, below is a diagram of our infrastructure running on GCP.
When the mirrors don't have content, the workers proxy the request back
to npm to avoid race conditions with syncing between the mirrors for
By baking load balancing and routing into the network layer with Cloudflare workers, we reduce the availability requirements of donated mirrors. We can failover between mirrors at the network level without surfacing failures to users.
Interested in Donating?
We don't have anything automated for on-boarding mirrors yet. If you are interested in donating infrastructure, email us at firstname.lastname@example.org!