Socket
Socket
Sign inDemoInstall

angular-captcha

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-captcha - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "angular-captcha",
"version": "1.2.0",
"version": "1.2.1",
"description": "BotDetect Captcha Angular Module (TypeScript / Angular 2+)",

@@ -5,0 +5,0 @@ "scripts": {

@@ -9,3 +9,3 @@ ## BotDetect Captcha Angular Module (TypeScript / Angular 2+)

##### Step 1: Install Captcha Angular Module
```
```sh
npm install angular-captcha --save

@@ -15,3 +15,3 @@ ```

If you use SystemJS, declare the following in your SystemJS config file:
```
```js
map: {

@@ -29,3 +29,3 @@ ...

##### Step 3: Declare Captcha Angular Module
```
```ts
import { BotDetectCaptchaModule } from 'angular-captcha';

@@ -45,3 +45,3 @@

##### Step 4: Displaying the Captcha Challenge
```
```html
<botdetect-captcha styleName="exampleCaptcha"></botdetect-captcha>

@@ -51,3 +51,3 @@ ```

##### Step 5: Client-side Captcha Validation
```
```html
<input

@@ -66,3 +66,3 @@ type="text"

If you have [Java Captcha](https://captcha.com/java-captcha.html) library on a server side validation would look similar to this:
```
```java
// validate captcha

@@ -69,0 +69,0 @@ SimpleCaptcha captcha = SimpleCaptcha.load(request);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc