0.0.7 • Published 12 years ago

textlogin v0.0.7

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

node-textlogin

Collect a username, password, and any other fields you want in style!

var textlogin = require('./index')();
textlogin
    .title("Beep Boop Industries")
    .add({key:'username',value:''})
    .add({key:'password',value:'',display:'hidden'})
    .success(function(response) {
    })  
    .start();

Methods

.title('')

Sets the title name

.add({key:'<key'>, value: '', display:'<hidden|hidden_ascii>'})

Adds a field named '' with initial value ''. Display field is optional and can be one of the following two: hidden or hidden_ascii. Use hidden_ascii if you want a simple '*' for your display value.

.success()

Callback will be called after all keys have their associated values filled in, being passed the response object, i.e.

[{key:'username', value:'blitzcrank'},
 {key:'password', value:'beepboop', display:'hidden'}]

.start

Call start to start collection.

0.0.7

12 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago