{"id":18275603,"url":"https://github.com/code-vedas/ncaptcha","last_synced_at":"2025-10-12T02:48:02.829Z","repository":{"id":32675465,"uuid":"281109422","full_name":"Code-Vedas/ncaptcha","owner":"Code-Vedas","description":"Captchas implementation for nodejs","archived":false,"fork":false,"pushed_at":"2025-01-23T00:40:52.000Z","size":405,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T22:32:23.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-Vedas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-20T12:24:37.000Z","updated_at":"2025-01-02T13:47:38.000Z","dependencies_parsed_at":"2024-01-26T04:30:29.608Z","dependency_job_id":"e2fc289b-7f26-48db-b83a-354d85eddf9c","html_url":"https://github.com/Code-Vedas/ncaptcha","commit_stats":null,"previous_names":["code-vedas/ncaptcha","niteshpurohit/ncaptcha"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fncaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fncaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fncaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fncaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Vedas","download_url":"https://codeload.github.com/Code-Vedas/ncaptcha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974731,"owners_count":21026742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T12:13:23.741Z","updated_at":"2025-10-12T02:48:02.733Z","avatar_url":"https://github.com/Code-Vedas.png","language":"JavaScript","readme":"---\n\n[![Coverage Status](https://coveralls.io/repos/github/niteshpurohit/ncaptcha/badge.svg?branch=master)](https://coveralls.io/github/niteshpurohit/ncaptcha?branch=master)\n[![npm version](https://badge.fury.io/js/ncaptcha-api.svg)](https://badge.fury.io/js/ncaptcha-api)\n\n[![NPM](https://nodei.co/npm/ncaptcha-api.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/ncaptcha-api/)\n\n# ncaptcha\n\nModule to integrate captcha for API only apps in nodejs\n\n# Dependencies\n\n1. canvas\n2. crypto\n\n# Usage\n\n```\nconst NCaptcha = require('ncaptcha');\n\n//remove {text:'123456'} to get random key and text image.\nvar ncaptcha = new NCaptcha({text:'123456'});\n\n// send this key and image data to client, client will send key and user inputted test from the image\nvar data = ncaptcha.generate()\n\n//should return true.\nncaptcha.check(data.key,'123456')\n```\n\ndata will have key and image encoded in base64.\n\n# Expiry Logic\n\nBy default key expires in 10 minutes. You can set 'expireInMinute' in params\n\n```\n// for 20 minutes\nnew NCaptcha({text:'123456',expireInMinute:20});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-vedas%2Fncaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-vedas%2Fncaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-vedas%2Fncaptcha/lists"}