Skip to content
Snippets Groups Projects
Commit 296f641b authored by adcpm's avatar adcpm
Browse files

0.0.0

parent 3952f704
No related branches found
No related tags found
No related merge requests found
.idea
\ No newline at end of file
index.js 0 → 100644
var calc=function(a,b,p)
{
if(a===""||b===""||p==="")
{
return "Please provide all parameters";
}
else
{
switch(p)
{
case '+':{
return a+b;
break;
}
case '-':{
return a-b;
break;
}
case '*':{
return a*b;
break;
}
case '/':{
return a/b;
break;
}
default:{return;}
}
}
}
exports.calc=calc; //very important line
\ No newline at end of file
{
"name": "steem",
"version": "0.0.0",
"description": "Steem Blockchain API",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adcpm/steem.git"
},
"keywords": [
"steem",
"steemit",
"blockchain",
"steemjs"
],
"author": "AdCpm <fabien@adcpm.com> (https://github.com/adcpm)",
"license": "ISC",
"bugs": {
"url": "https://github.com/adcpm/steem/issues"
},
"homepage": "https://github.com/adcpm/steem#readme"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment