Now you can easy vote with Steem.js NPM package. Here is the tutorial:
var steem = require('steem');
steem.broadcast.vote(username, password, author, permlink, weight, function(err, result) {
console.log(err, result);
});
Quite difficult right? If you like it, upvote this article and I will use this money to incentive contributors to contribute on Open Source Steem projects.
It was not an easy task to make the encryption working thank to Kaptain Krayola @kaptainkrayola who help for generate a signature with steemit.com code.
Stay tuned I will soon do an update with post/comment, downvote, follow/mute methods.
Best