Skip to content

ShieldLabs-ai/shieldlabs-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@shieldlabs/react

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.

Install

npm install @shieldlabs/react   # coming soon

Usage (subject to change)

import { useShieldLabs } from "@shieldlabs/react";

function App() {
  const { data, isLoading } = useShieldLabs({ apiKey: "pk_live_..." });
  if (isLoading) return null;
  return <span>risk score: {data?.riskScore}</span>;
}

About ShieldLabs

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.

License

MIT

About

React bindings for the ShieldLabs browser loader.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors