Softwr

Developer Tools · head to head

Hanko vs pnpm

Hanko logo

Hanko

Developer Tools

Open-source, passkey-first authentication and user management you can self-host or run in the cloud

From
Free
Free plan
Yes
pnpm logo

pnpm

Developer Tools

Fast, disk space efficient package manager

From
Free
Free plan
Yes

The short version

  • pnpm is a fast, disk space efficient package manager.
  • pnpm is free; Hanko starts at $29/mo.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.
  • Where pnpm falls short: requires command-line proficiency to use.

How do Hanko and pnpm differ?

Hanko and pnpm differ on platforms. Only the attributes on which Hanko and pnpm actually diverge.

Attributes where Hanko and pnpm differ
AttributeHankopnpm
PlatformsWebLinux, Windows, macOS

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

Not yet recorded: pricing model for pnpm, category for Hanko, founded for Hanko.

Which features does each one have?

They share no listed features; 8 appear only for Hanko. 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 Hanko

  • Passkeys, passwords and passcodes
  • Social and OAuth login
  • MFA with TOTP and security keys
  • SAML enterprise SSO
  • Hanko Elements web components
  • Webhooks and admin API
  • Server-side sessions and revocation
  • Self-hosting or managed cloud

Only in pnpm

Nothing recorded that Hanko does not also cover.

What is each one used for?

Hanko is most often brought in for passkey-first login for consumer apps; pnpm for installing dependencies faster than npm in monorepo workspaces. The jobs each tool is most often brought in to do.

Hanko

  • Passkey-first login for consumer appsnot pnpm
  • Self-hosted auth for privacy-sensitive productsnot pnpm
  • Replacing a Firebase or Cognito loginnot pnpm
  • Adding MFA to a web appnot pnpm
  • EU-hosted authenticationnot pnpm

pnpm

  • Installing dependencies faster than npm in monorepo workspacesnot Hanko
  • Sharing common dependencies across multiple projects to save disk spacenot Hanko
  • Preventing dependency version conflicts in workspace environmentsnot Hanko
  • Managing workspaces with many interdependent packagesnot Hanko

Where do Hanko and pnpm fall short?

Hanko's most cited limit: organisations, roles and permissions are not yet released. pnpm's: requires command-line proficiency to use. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hanko

  • Organisations, roles and permissions are not yet released
  • Native iOS, Android and Flutter SDKs are still on the roadmap
  • AGPL-3.0 licence may need a commercial licence for some products
  • SAML SSO costs $49 a month per connection on top of Pro

pnpm

  • Requires command-line proficiency to use
  • Community-driven support only
  • Ignores npm lockfiles (package-lock.json, npm-shrinkwrap.json) unless you run pnpm import first
  • Binaries in node_modules/.bin are always shell scripts, not symlinks to the JavaScript files
  • The npm-installed pnpm package requires Node.js 18 or newer; targets without a prebuilt binary need pnpm 11

How much do Hanko and pnpm cost?

Hanko has a free plan, with paid plans from $29/mo; pnpm is free to use. Plan by plan below, from each vendor's own pricing page.

Hanko

Free
  • StarterFree
    • 10,000 monthly active users
    • 2 projects
    • Passkeys, passwords, MFA, social login
  • Pro$29/mo
    • $0.01 per monthly active user above 10,000
    • 5 projects
    • Webhooks and admin API

pnpm

Free
  • Open sourceFree

Which should you pick?

Choose Hanko if

  • You need passkeys, passwords and passcodes.
  • You want to start without paying.
  • You also want social and oauth login.

Choose pnpm if

  • You want to start without paying.
  • You work on Linux, Windows, macOS.

Questions people ask

Is Hanko or pnpm better?
It depends on the job. Hanko fits passkey-first login for consumer apps; pnpm fits installing dependencies faster than npm in monorepo workspaces. Hanko starts at Free and pnpm at Free.
Which is cheaper, Hanko or pnpm?
Hanko starts at Free and pnpm at Free.
Does Hanko or pnpm run on more platforms?
Hanko runs on Web. pnpm runs on Linux, Windows, macOS.
Can I use Hanko for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hanko best used for?
Hanko is most often used for passkey-first login for consumer apps, self-hosted auth for privacy-sensitive products, replacing a firebase or cognito login, adding mfa to a web app. Of those, passkey-first login for consumer apps and self-hosted auth for privacy-sensitive products are not what pnpm is typically brought in for.
What can Hanko do that pnpm cannot?
Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO.

Answered from the vendors’ own pages

Hanko: Is Hanko open source?

Yes. Hanko is open-source under the AGPL-3.0 licence and can be self-hosted, or used as the managed Hanko Cloud.

Source
pnpm: Is pnpm free and open source?

Yes. pnpm is free and open source software developed for Node.js. Version 10 and 11 are currently available.

Source
Hanko: How much does Hanko Cloud cost?

Starter is free with 10,000 monthly active users. Pro is $29 a month plus $0.01 per user above 10,000.

Source
pnpm: How does pnpm save disk space?

pnpm uses a content-addressable store with hard linking and symlinks to avoid duplication. All files are saved in a single place on disk and hard-linked to individual projects, dramatically reducing storage requirements compared to npm.

Source
Hanko: Does Hanko support SAML SSO?

Yes. SAML SSO is available on Pro at $49 a month per connection.

Source
pnpm: Is pnpm faster than npm?

Yes. pnpm performs installation in three stages: dependency resolution, directory structure calculation, and linking. Packages are fetched and linked as soon as possible, making it significantly faster than npm's sequential approach.

Source
Hanko: What counts as a monthly active user?

A user who is issued a session token at least once in a month, or whose session token is validated through Hanko, counts once for that month.

Source
pnpm: Does pnpm support monorepos?

Yes. pnpm has built-in support for monorepositories. You can create a workspace using pnpm-workspace.yaml to unite multiple projects in a single repository.

Source
pnpm: How does pnpm handle node_modules differently than npm?

pnpm uses symlinks to add only direct dependencies to node_modules root, preventing accidental access to undeclared dependencies. This encourages more explicit dependency management compared to npm's flattened node_modules structure.

Source
Share

Related pages

Other head to heads