This CLI tool provides a template for state-machine-based applications built on xstate, statelyai/inspect, msw. Using this tool allows you to skip tedious setup processes and start developing your desired application immediately.
You can create projects interactively by running:
npm create logic-simulator
# or
yarn create logic-simulator
# or
pnpm create logic-simulator
Then follow the prompts
You can use template option (available options: vanilla-js
, vanilla-ts
, react-js
, react-ts
)
npm create logic-simulator@latest <project-directory> -- --template react-ts
# or
yarn create logic-simulator <project-directory> --template react-ts
# or
pnpm create logic-simulator <project-directory> --template react-ts