React bindings for the ShieldLabs browser loader.
Pre-launch. This package is a placeholder to reserve the name and shape the public API. It is not published yet and the surface will change. Follow along at shieldlabs.ai.
npm install @shieldlabs/react # coming soonimport { useShieldLabs } from "@shieldlabs/react";
function App() {
const { data, isLoading } = useShieldLabs({ apiKey: "pk_live_..." });
if (isLoading) return null;
return <span>risk score: {data?.riskScore}</span>;
}ShieldLabs gives you identification and anonymity detection with an explainable risk score (0-100) and detailed signals, so you can assess traffic quality and act on abuse and fraud in your own code. You read the score and its details; your code owns the decision. You set the rules.
- Website: shieldlabs.ai
- Get started: Start Free