
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
Affected versions:
Flowmint is a lightweight Node.js library for designing, managing, and optimizing user experience (UX) flows in modern web applications.
# 🌿 flowmint
**Flowmint** is a lightweight Node.js library for designing, managing, and optimizing user experience (UX) flows in modern web applications. Whether you're building onboarding journeys, navigation paths, or interaction checkpoints, Flowmint helps you structure and refine UX logic with clarity.
---
## 🚀 Features
- 📌 Define UX flow steps and transitions
- 🧠 Logic-based flow branching
- 🕹️ Middleware-style flow controllers
- 🧪 A/B variation support
- ✅ TypeScript support out of the box
---
## 📦 Installation
```bash
npm install flowmint
# or
yarn add flowmint
import { createFlow, step } from 'flowmint';
const signupFlow = createFlow('signup')
.addStep(step('welcome'))
.addStep(step('collect-info'))
.addStep(step('verify-email'))
.addStep(step('complete'));
const current = signupFlow.next('welcome');
console.log(current); // -> 'collect-info'
You can also handle branching:
signupFlow.branch('collect-info', (user) => {
return user.hasEmail ? 'verify-email' : 'collect-email';
});
createFlow(name: string)Creates a new UX flow controller.
.addStep(stepName: string)Adds a step to the flow.
.branch(stepName: string, decisionFn: (context) => string)Adds a decision-based branch to the flow.
.next(currentStep: string, context?: object)Returns the next step based on the current one.
flowmint/
├── src/
│ ├── index.ts
│ ├── flow.ts
│ └── utils.ts
├── test/
├── README.md
└── package.json
npm test
MIT © 2025
FAQs
Flowmint is a lightweight Node.js library for designing, managing, and optimizing user experience (UX) flows in modern web applications.
The npm package flowmint receives a total of 0 weekly downloads. As such, flowmint popularity was classified as not popular.
We found that flowmint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.