# The npm packages

Source: https://snizu.dev/docs/cli/packages

## The packages [#the-packages]

<Packages />

## One version for all [#one-version-for-all]

Every package goes out at the same version, and each one that needs another asks for exactly that release: `@snizu/react` for `^2.0.0` of the client, the starter for `^2.0.0` of both, and `snizu` for `2.0.0` of the CLI. Upgrade them together and they always work together.

Each package sends the API version it was built for, `2026-10`, as `shop-api-version`, and its types come from that version of the API. Upgrading the package is what moves your code to a newer API version.

## What they run on [#what-they-run-on]

- **Node.js 22 or newer**, and browsers, Deno, Bun and edge runtimes for the client and App Bridge, which only use `fetch` and `postMessage`.
- **ES modules**, with types inside. `require()` works from CommonJS too, on the Node versions that load ES modules that way (22.12 and newer):

```js title="server.cjs"
const { createStorefront } = require("@snizu/storefront");
```

- **TypeScript** without `@types`: every request and answer is typed from the API's own OpenAPI document, under `moduleResolution` `bundler`, `node16` and `nodenext`.

## Where they come from [#where-they-come-from]

They're MIT licensed and published by the snizu organization on npm. Each package's page on npmjs.com is its README, with every command or method; these docs go further with guides.