Nanobots Producing Megastructures
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

steem-vote-value

1.0.1 • Public • Published

steem-vote-value


Git repo: https://github.com/softprodigyofficial/steem-vote-value/

Installation

npm install steem-vote-value

Usage

const SteemVoteValue = require('steem-vote-value');
SteemVoteValue.valuefrompercent(handle,vote_percent)
.then(function(result) {
res.status(HTTPStatus.OK).json({ success: '1', message: "success", data: result });
})
.catch(function(error){
res.status(HTTPStatus.NOT_FOUND).json({ success: '0', message: "failure", data: error });
});

SteemVoteValue.percentfromvalue(handle,vote_value)
.then(function(result) {
res.status(HTTPStatus.OK).json({ success: '1', message: "success", data: result });
})
.catch(function(error){
res.status(HTTPStatus.NOT_FOUND).json({ success: '0', message: "failure", data: error });
});

Keywords

none

install

npm i steem-vote-value

Downloadsweekly downloads

3

version

1.0.1

license

none

last publish

collaborators

  • avatar
Report a vulnerability