f80161ee2257e1cd4b7aca7858732414d5ceae54
finite-state-automaton
Use
No build-tool
While this project is written with the Node.Js tooling (Vite+MermaidJS), a simple transformation can be done to make it work in a browser.
sed -i "s|from 'mermaid'|from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'|" src/fsm.js
Build-tool
Run your favorite package manager (npm, yarn, pnpm, bun, etc.) to install the dependencies and build the Vite application:
npm install
npm run dev # Run the Vite development server
npm run build # Build the application in the dist/ directory
Description
Languages
TypeScript
65.5%
JavaScript
18.4%
CSS
10.7%
HTML
5.4%