Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-captcha

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-captcha

Dynamic captcha (Google reCaptcha) implementation for Angular 5+

  • 1.1.19
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25K
decreased by-9.29%
Maintainers
1
Weekly downloads
 
Created
Source

npm version Build Status NPM

Angular Captcha

Google reCaptcha implementation for Angular 5 and beyond.

Installation

npm install ngx-captcha

Import NgxCaptchaModule to your module (i.e. AppModule) and configure site keys for reCaptcha.

import { NgModule } from '@angular/core';
import { NgxCaptchaModule } from 'ngx-captcha';

@NgModule({
  imports: [
    NgxCaptchaModule.forRoot({
      reCaptcha2SiteKey: 'xxxx',
      invisibleCaptchaSiteKey: 'yyy'
    }),
  })

export class AppModule { }

Usage

reCaptcha2

<ngx-recaptcha2
  [size]="size"
  [hl]="lang"
  [theme]="theme"
  [type]="type"
  (expire)="handleExpire()"
  (load)="handleLoad()"
  (success)="handleSuccess($event)">
</ngx-recaptcha2>

Invisible captcha

<ngx-invisible-recaptcha
  [type]="type"
  [badge]="badge"
  (load)="handleLoad()"
  (success)="handleSuccess($event)">
</ngx-invisible-recaptcha>

For more details please visit https://enngage.github.io/ngx-captcha/

Keywords

FAQs

Package last updated on 14 Mar 2018

Did you know?

Socket

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.

Install

Related posts

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