0.1.10 • Published 9 years ago

simple-captcha v0.1.10

Weekly downloads
15
License
MIT
Repository
github
Last release
9 years ago

NPM version Build Status Dependency Status

Simple node captcha service

Captcha

Preinstall

Ubuntu

$ sudo apt-get update -qq
$ sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++

Install

$ npm install --save simple-captcha

Usage

var express = require('express');
var http = express();

http.all('/', function(req, res) {
  var captcha = require('simple-captcha').create({width: 100, height: 40});
  console.log(captcha.text());
  captcha.generate();
  res.write(captcha.buffer('image/png'));
  res.end();
});
http.listen(9999, function() {
  console.log('Express Server Running on Port 9999');
  console.log('visit http://localhost:9999 to see the captcha');
});

License

MIT © calidion

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago