captchess
v0.1.3
Published
A chess-based captcha component for React
Readme
Captchess
A React component for a frontend chess-based captcha. The goal is to move all of the white pieces on to the green squares, which sounds easier than it is. This captcha is made for specific cases where you know a user is manipulating the system, and want to waste their time ;P.
Installation
npm install captchessUsage
import { ChessCaptcha } from 'captchess';
function App() {
const handleVerify = (token: string) => {
console.log('Verified!', token);
};
return (
<ChessCaptcha onVerify={handleVerify} />
);
}Development
npm run devBuilding
npm run buildPublishing
- Login to npm:
npm login- Publish the package:
npm publish --access public