Skip to content

Installation

Before installing Standard Store, ensure you have the following:

  • Node.js (version 16 or higher)
Terminal window
npm i @standard-store/store

For React projects, install the React integration package:

Terminal window
npm i @standard-store/store @standard-store/react

To use built-in adapters (localStorage, cookies, URL state, etc.):

Terminal window
npm i @standard-store/store @standard-store/adapters

All available adapters are included in the @standard-store/adapters package:

  • localStorage
  • sessionStorage
  • Cookie
  • In-Memory
  • Next.js nuqs
  • React Router