
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mstate-angular
Advanced tools
MState is a library designed to automate workflows by managing state transitions and actions efficiently. It enables developers to create state machines, which are useful for defining and controlling the various states an object or process can pass throug
MState is a library designed to automate workflows by managing state transitions and actions efficiently. It enables developers to create state machines, which are useful for defining and controlling the various states an object or process can pass through, especially in complex workflows.
interface MStateProps {
token: string;
workflow: string;
start?: boolean; // default true
who?: string;
instanceID?: string;
onInstanceChange?: (value: string) => void;
handleCustomField?: (key: string) => any;
onSuccess?: (actionName: string) => void;
onError?: (errors: any[]) => void;
}
Once the package is installed, you can import the library using import or require approach:
import { Mstate } from 'mstate-angular';
You can also use the default export, since the named export is just a re-export from the Axios factory:
import Mstate from 'mstate-angular';
import Mstate from 'mstate-angular';
<Mstate
token="your-secret-key"
instanceID="instance-id"
workflow="workflow-name-with-path"
/>;
FAQs
MState is a library designed to automate workflows by managing state transitions and actions efficiently. It enables developers to create state machines, which are useful for defining and controlling the various states an object or process can pass throug
The npm package mstate-angular receives a total of 16 weekly downloads. As such, mstate-angular popularity was classified as not popular.
We found that mstate-angular 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.