xstate-ninja
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

xstate-ninja

logo

This is the core library for vanilla JS projects.

npm version code style: prettier PRs Welcome


Quick Start

npm install --save xstate-ninja xstate

To track state machines in your project, do this:

import { interpret } from 'xstate-ninja'
const service = interpret(machine, { devTools: true })

Install the browser extension, open browser devtools (F12) and select the XState panel.

screenshot

Package Sidebar

Install

npm i xstate-ninja

Weekly Downloads

370

Version

2.1.0

License

ISC

Unpacked Size

73 kB

Total Files

11

Last publish

Collaborators

  • rlaffers