Back to Pure

Precompiled npm packages.One URL to switch.

Point npm at the Pure Registry and your dependencies arrive precompiled. The more your code calls them, the more you gain. Your app keeps running on Node.js.

$ npm config set registry https://registry.pure.dev

How it works

  1. 1

    Switch the registry.

    Run one command, or put the same URL in your .npmrc. Nothing else changes.

  2. 2

    Install as usual.

    Your next npm install pulls natively compiled dependencies automatically.

  3. 3

    Run as before.

    Your code, your runtime and your deploys stay the same. Your dependencies run faster.

See the numbers. Before you switch.

Every package has a public benchmark page: the npm original against the Pure build, on the same runtime. It says so when Pure is not faster.

Nothing to rewrite. Nothing to risk.

  • No source edits
  • Your existing Node.js runtime
  • Packages we have not built come straight from npm
  • Your lockfile keeps installing the same bytes
  • No account needed
  • Always free

Want the full savings? Compile your service.

  • One native binary
  • No Node.js runtime
  • Full-service compile
$ pure build server.ts

Questions

Is the registry really free?
Yes. The Pure Registry is public and free, and that does not change with the compiler plans.
Do I need an account?
No. Switch the URL and install. There is nothing to sign up for.
What if a package is not precompiled?
It comes from npm, exactly as it does today. Switching the registry never blocks an install.
Will my lockfile break?
No. A lockfile records the exact bytes it installed, and the registry keeps serving them. Builds are never overwritten.
Is it always faster?
No. A precompiled package pays a small one-time cost when it first loads, then runs faster on every call. A package your code calls often comes out ahead. One it calls once may not. The benchmark page shows both.
How do I know it is actually faster?
Look up your package on the benchmark page. It compares the npm original and the Pure build on the same runtime, shows the confidence interval, and checks that the output is identical.
Can I switch back?
Yes, at any time. Delete the registry setting (npm config delete registry) and npm goes back to its default.

Closed alpha

Pure is in closed alpha. Help us shape it.

We're working with a small group of design partners and early testers. If you run Node.js services and want to cut your runtime costs, leave your email and we'll be in touch.

We'll only use your email to contact you about Pure. See our privacy policy.