Softwr

APIs · head to head

Basis Theory vs pnpm

Basis Theory logo

Basis Theory

APIs

Developer tokenisation platform that holds card and sensitive data inside a PCI Level 1 environment you do not operate

From
$995/month
Free plan
No
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; Basis Theory starts at $995/mo.
  • Where pnpm falls short: requires command-line proficiency to use.

How do Basis Theory and pnpm differ?

Basis Theory and pnpm differ on starting price ($995/month against Free), free tier (No against Yes) and platforms. Only the attributes on which Basis Theory and pnpm actually diverge.

Attributes where Basis Theory and pnpm differ
AttributeBasis Theorypnpm
Starting price$995/monthFree
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxLinux, Windows, macOS
CategoryAPIsDeveloper Tools

Not yet recorded: pricing model for pnpm, founded for Basis Theory.

Which features does each one have?

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

  • Tokenisation API
  • Hosted elements
  • Outbound proxy
  • PCI attestation of compliance
  • Processor portability
  • Reactors
  • Access controls and audit
  • PII and PHI options

Only in pnpm

Nothing recorded that Basis Theory does not also cover.

What is each one used for?

pnpm is most often brought in for installing dependencies faster than npm in monorepo workspaces. The jobs each tool is most often brought in to do.

Basis Theory

  • A payments company that wants card on file without bringing its own infrastructure into PCI scope and paying for the assessment that followsnot pnpm
  • A merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirernot pnpm
  • A fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security reviewnot pnpm
  • A team that needs to send stored card data to a third party for a one-off integration without that data traversing its own serversnot pnpm

pnpm

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

Where do Basis Theory and pnpm fall short?

pnpm's most cited limit: requires command-line proficiency to use. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Basis Theory

  • The Starter plan is 995 US dollars a month before any volume, which is a real floor for an early stage company and puts the product out of reach of teams tokenising a few thousand records
  • Starter is limited to the US region, so a company with European data residency requirements is pushed into a quoted Scale or Enterprise agreement immediately
  • Log retention on Starter is 24 hours, which is well below what most security teams expect for a system holding cardholder data and forces an upgrade for reasons unrelated to volume
  • Migrating away means moving card data out of the vault, which requires processor and assessor involvement and is slow, so the portability argument that attracts buyers cuts against them at exit
  • An attestation of compliance covers the vendor environment, not your assessment; your assessor still decides what is in scope, and buyers occasionally discover their integration pattern pulled systems back into scope anyway

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 Basis Theory and pnpm cost?

Basis Theory starts at $995/mo; pnpm is free to use. Plan by plan below, from each vendor's own pricing page.

Basis Theory

$995/month
  • Starter$995/mo
    • 20,000 tokens included
    • Production PCI Level 1 environment
    • US region only
  • ScaleOn request
    • Quoted
    • Higher token volumes
    • Additional regions
  • EnterpriseOn request
    • Quoted
    • Additional compliance options for PII and PHI
    • Responses for 95 percent of PCI SAQ D

pnpm

Free
  • Open sourceFree

Which should you pick?

Choose Basis Theory if

  • You need tokenisation api.
  • You work on Web, iOS, Android, Linux.
  • You also want hosted elements.

Choose pnpm if

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

Questions people ask

Is Basis Theory or pnpm better?
It depends on the job. Basis Theory fits a payments company that wants card on file without bringing its own infrastructure into PCI scope and paying for the assessment that follows; pnpm fits installing dependencies faster than npm in monorepo workspaces. Basis Theory starts at $995/month and pnpm at Free.
Which is cheaper, Basis Theory or pnpm?
pnpm has a free tier; the other does not. Paid plans start at $995/month for Basis Theory and Free for pnpm.
Does Basis Theory or pnpm run on more platforms?
Basis Theory runs on Web, iOS, Android, Linux. pnpm runs on Linux, Windows, macOS.
Can I use pnpm for free?
Yes. pnpm has a free tier, so you can try it without paying. Basis Theory starts at $995/month.
What is Basis Theory best used for?
Basis Theory is most often used for a payments company that wants card on file without bringing its own infrastructure into pci scope and paying for the assessment that follows, a merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirer, a fintech collecting bank account and identity data that needs it isolated from its application database before an enterprise security review, a team that needs to send stored card data to a third party for a one-off integration without that data traversing its own servers. Of those, a payments company that wants card on file without bringing its own infrastructure into pci scope and paying for the assessment that follows and a merchant locked into a processor by that processor vault that wants to hold its own tokens and route to more than one acquirer are not what pnpm is typically brought in for.
What can Basis Theory do that pnpm cannot?
Basis Theory covers Tokenisation API, Hosted elements, Outbound proxy, PCI attestation of compliance.

Answered from the vendors’ own pages

Basis Theory: Does this make us PCI compliant?

It removes cardholder data from your systems and gives you an AOC plus documented responses for most of a SAQ D. Your assessor still determines your scope, and a careless integration can pull systems back in.

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
Basis Theory: What does it cost to start?

995 US dollars a month on Starter, including 20,000 tokens, a production PCI Level 1 environment and US hosting. Higher tiers are quoted.

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
Basis Theory: Can we switch payment processors without re-collecting cards?

Yes, that is the main non-compliance reason to buy it. You hold the tokens and detokenise into whichever processor you route to.

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
Basis Theory: Is data stored outside the United States?

Not on Starter, which is US only. Other regions require a Scale or Enterprise agreement.

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