Installation
To get started with Retomus, install the core library:
npm install retomus
or if you prefer Yarn:
yarn add retomus
โ What You Getโ
The main package includes:
- Core state machine engine
- React integration (hooks, wrapper)
- TypeScript support
๐ก Recommended Setupโ
Retomus works out of the box in React projects using:
- React 17+
- TypeScript 4.0+
- Modern bundlers like Vite, Webpack, Next.js, etc.
๐ง TypeScript Typingsโ
Retomus is written in TypeScript and provides full typings by default โ no need for additional @types
packages.
๐งช Peer Dependenciesโ
None. Retomus is a zero-dependency library except for React.