
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.