2.0.1 • Published 9 years ago

apeman-task-captcha v2.0.1

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

apeman-task-captcha

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to generate captcha images.

Installation

$ npm install apeman-task-captcha --save-dev

Usage

  1. Define a task within Apemanfile.js
  2. Call the task via apeman task command.

Apemanfile.js

/** This is an example Apemanfile to use apeman-task-captcha */

'use strict'

module.exports = {
    $pkg: {/* ... */},
    $tasks: {
        // Define your own task.
        'captcha:gen': require('apeman-task-captcha')('captcha.json', {
            //Options
            imageDir: 'public/captcha'
        })
    }
}

Then,

$ apeman task my-task-01

Signature

define(filename, options) -> function

apeman task to generate captcha images.

Args
NameTypeDefaultDescription
filenamestringData file name.
optionsobjectOptional settings.
options.countnumber25Count of images
options.imageDirstringcaptchaImages directory.
options.cleanbooleanCleanup image directory before generating.

License

This software is released under the MIT License.

Links

2.0.1

9 years ago

2.0.0

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago