
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
persona-react
Advanced tools
The official React bindings for the Persona Inquiry JavaScript SDK.
The module provides React bindings for the Persona embedded flow.
npm install persona-react
To open the flow you must create a Client
object.
import React from 'react';
import PersonaReact from 'persona-react';
const MyComponent = () => {
return (
<PersonaReact
// This refers to a production demo template owned by Persona
templateId='itmpl_Ygs16MKTkA6obnF8C3Rb17dm'
environment='sandbox'
onComplete={({ inquiryId, status, fields }) => console.log('onComplete')}
onCancel={({ inquiryId, sessionToken }) => console.log('onCancel')}
onError={(error) => console.log(error)}
/>
);
};
Please see Contributing for guidelines and instructions for local development.
FAQs
React bindings for the Persona Inquiry Flow JavaScript SDK.
The npm package persona-react receives a total of 19,857 weekly downloads. As such, persona-react popularity was classified as popular.
We found that persona-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.