Skip to content

MineList/votifier-send

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

votifier-send

npm install votifier-send

Usage

To send votifier data:

var votifier = require('votifier-send');

var settings = {
	key: '... Your RSA pub key for the server',
	host: 'localhost',
	port: 8192,
	data: {
		user: '<players username>',
		site: '<voting site name>',
		addr: '<ip address of player>',
		timestamp: new Date().getTime()
	}
}

votifer.send(settings, callback(err){
	if(err) console.log(err);
	// If no err success
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%