Softwr

Cloud · head to head

Hetzner Cloud vs npm

Hetzner Cloud logo

Hetzner Cloud

Cloud

Affordable cloud servers in Europe

From
Free
Free plan
Yes
npm logo

npm

Web Development

Package manager for JavaScript

From
Free
Free plan
Yes

The short version

  • Hetzner Cloud is a European cloud infrastructure provider.
  • Free plans on both; paid from €3.29/mo and $7/mo.
  • Only Hetzner Cloud lists cloud servers; only npm lists package installation.
  • Where Hetzner Cloud falls short: Cost-Optimized plans are shown as currently unavailable.
  • Where npm falls short: private packages require a paid user or organization account; the free registry publishes publicly only.

How do Hetzner Cloud and npm differ?

Hetzner Cloud and npm differ on pricing model (Usage-based against Freemium), platforms and category (Cloud against Web Development). Only the attributes on which Hetzner Cloud and npm actually diverge.

Attributes where Hetzner Cloud and npm differ
AttributeHetzner Cloudnpm
Pricing modelUsage-basedFreemium
PlatformsWeb, APIWindows, macOS, Linux
CategoryCloudWeb Development
Founded19972014

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share 1 listed feature; 19 appear only for Hetzner Cloud and 19 only for npm. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Hetzner Cloud

  • Cloud servers
  • Block storage
  • Object storage
  • Load balancers
  • Networks
  • Firewalls
  • Floating IPs
  • Backups

Only in npm

  • Package installation
  • Dependency management
  • Version management
  • Script running
  • Package publishing
  • Security auditing
  • Package discovery
  • CLI interface

Both cover

  • Docker

What is each one used for?

Hetzner Cloud is most often brought in for low-cost virtual servers for development and testing; npm for package management. The jobs each tool is most often brought in to do.

Hetzner Cloud

  • Low-cost virtual servers for development and testingnot npm
  • European hosting with data held in Germany or Finlandnot npm
  • Workloads with heavy egress, where included traffic mattersnot npm
  • Self-hosting applications away from the hyperscalersnot npm

npm

  • Package managementnot Hetzner Cloud
  • Dependency installationnot Hetzner Cloud
  • Project scaffoldingnot Hetzner Cloud
  • Build automationnot Hetzner Cloud
  • Package publishingnot Hetzner Cloud
  • Version controlnot Hetzner Cloud

Where do Hetzner Cloud and npm fall short?

Hetzner Cloud's most cited limit: Cost-Optimized plans are shown as currently unavailable. npm's: private packages require a paid user or organization account; the free registry publishes publicly only. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hetzner Cloud

  • Cost-Optimized plans are shown as currently unavailable
  • The shared-resource tiers are positioned for variable usage and development rather than sustained production workloads
  • Regions are limited to Germany, Finland, the United States and Singapore, so latency to other markets is a real constraint
  • The uptime guarantee is 99.9 percent, below what the large hyperscalers offer on comparable services
  • Support is 24/7 by email, without a phone channel

npm

  • Private packages require a paid user or organization account; the free registry publishes publicly only
  • Publishing needs an account with 2FA enabled or a granular access token with bypass 2FA enabled
  • Only scoped packages can be made private (--access=restricted); unscoped packages cannot be restricted
  • A package name and version can never be reused once published, even after npm unpublish

How much do Hetzner Cloud and npm cost?

Hetzner Cloud has a free plan, with paid plans from €3.29/mo; npm has a free plan, with paid plans from $7/mo. Plan by plan below, from each vendor's own pricing page.

Hetzner Cloud

Free
  • CX11€3.29/mo
    • 1 vCPU
    • 1GB RAM
    • 25GB SSD
  • CX21€6.59/mo
    • 2 vCPU
    • 4GB RAM
    • 40GB SSD

npm

Free
  • FreeFree
    • Unlimited public packages
    • Package discovery
    • npm CLI
  • Pro$7/mo
    • Unlimited private packages
    • Package analytics
    • Support
  • Teams$7/mo
    • Team management
    • Organization packages
    • Audit logs

Which should you pick?

Choose Hetzner Cloud if

  • You need cloud servers.
  • You want to start without paying.
  • You work on Web, API.
  • You also want block storage.

Choose npm if

  • You need package installation.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want dependency management.

Questions people ask

Is Hetzner Cloud or npm better?
It depends on the job. Hetzner Cloud fits low-cost virtual servers for development and testing; npm fits package management. Hetzner Cloud starts at Free and npm at Free.
Which is cheaper, Hetzner Cloud or npm?
Hetzner Cloud starts at Free and npm at Free.
Does Hetzner Cloud or npm run on more platforms?
Hetzner Cloud runs on Web, API. npm runs on Windows, macOS, Linux.
Can I use Hetzner Cloud for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hetzner Cloud best used for?
Hetzner Cloud is most often used for low-cost virtual servers for development and testing, european hosting with data held in germany or finland, workloads with heavy egress, where included traffic matters, self-hosting applications away from the hyperscalers. Of those, low-cost virtual servers for development and testing and european hosting with data held in germany or finland are not what npm is typically brought in for.
What can Hetzner Cloud do that npm cannot?
Hetzner Cloud covers Cloud servers, Block storage, Object storage, Load balancers. npm covers Package installation, Dependency management, Version management, Script running. Both handle Docker.

Answered from the vendors’ own pages

Hetzner Cloud: What types of cloud plans does Hetzner Cloud offer?

Hetzner Cloud offers Shared Resource plans (Cost-Optimized and Regular Performance) for development and testing, and Dedicated Resource plans (General Purpose) for business applications. Plans are available with a price calculator on their website.

Source
npm: Is npm free to use?

Installing and sharing public packages on npm is free. Using and sharing private packages requires upgrading your account to a paid plan. Organisations can be public (free) or private (paid).

Source
Hetzner Cloud: What is included with Hetzner Cloud servers?

Every cloud server comes with free one-click apps like Docker, WordPress, Nextcloud, and GitLab. All servers include stateful firewalls at no additional cost, networking capabilities, APIs, and CLI tools.

Source
npm: How do I publish a private package on npm?

For a user-scoped private package you need a paid npm user account. For an organisation-scoped one you need a user account and a paid organisation. Scoped packages are published as private by default under those conditions, and you can set --access=restricted on a scoped package.

Source
Hetzner Cloud: Where are Hetzner Cloud servers located?

Hetzner Cloud servers are available in Germany, Finland, Singapore, and the USA, with data centers in Falkenstein, Nuremberg, Helsinki, Hillsboro (Oregon), Ashburn (Virginia), and Singapore.

Source
npm: Do I need two-factor authentication to publish to npm?

Publishing requires either a 2FA-enabled account or a granular access token with bypass 2FA enabled. Account-identity and governance actions cannot be done with a bypass-2FA token from August 2026.

Source
Hetzner Cloud: What uptime guarantee does Hetzner Cloud provide?

Hetzner Cloud provides an SLA with 99.9% guaranteed uptime and clearly defined credits in case of malfunction. They also offer 24/7 support by email for business-critical workloads.

Source
npm: Can I republish a version after unpublishing it from npm?

No. Publishing fails if the name and version already exist in the registry, and that combination can never be used again even after npm unpublish. You must publish a new version number.

Source
npm: Who owns npm?

npm, Inc. runs both the package manager and the registry. It is a subsidiary of GitHub, which acquired it in March 2020 and is itself owned by Microsoft.

Source
Share

Related pages

Other head to heads