
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
screen-flow
Advanced tools
Navigation intelligence, not just analytics. One-stop, platform-agnostic tracker for React and React Native.
In a world of bloated analytics SDKs (Segment, Firebase, Mixpanel), ScreenFlow is the minimalist's choice.
useScreenFlow.npm install screen-flow
Setup your storage and output adapter.
import { initScreenFlow, ConsoleAdapter } from 'screen-flow';
initScreenFlow({
adapter: new ConsoleAdapter(),
// Persistence for Web (localStorage) or React Native (AsyncStorage)
storage: localStorage,
sessionTimeout: 30 * 60 * 1000 // 30 mins
});
import { useScreenFlow } from 'screen-flow';
const Dashboard = () => {
useScreenFlow('Dashboard', { tab: 'overview' });
return <div>My Dashboard</div>;
};
import { onScreenChange } from 'screen-flow';
// Anywhere in your logic
await onScreenChange('Settings');
Connect ScreenFlow to any service in seconds.
import { Adapter, ScreenEvent } from 'screen-flow';
class MyBrandAdapter implements Adapter {
onEvent(event: ScreenEvent) {
console.log(`User stayed on ${event.previousScreen} for ${event.duration}ms`);
// Send to your own server
myApi.log(event);
}
}
| Property | Type | Description |
|---|---|---|
screen | string | Current screen name |
previousScreen | string | null | Name of the last screen |
duration | number | Time spent on the last screen (ms) |
flow | string[] | Last 30 screens visited |
isBack | boolean | True if this move was a "Back" navigation |
sessionId | string | Unique, persistent session ID |
params | object | Custom metadata provided by you |
If ScreenFlow saved you hours of work or helped you build a faster app, consider supporting the development!
ISC (Free and Open Source)
FAQs
Navigation intelligence library for React and React Native
We found that screen-flow 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.