@stock-bot/bot
Advanced tools
Comparing version
@@ -0,2 +1,20 @@ | ||
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const modules_1 = require("@stock-bot/modules"); | ||
function test() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let s = yield modules_1.IEXService.getSymboleQuote("aapl"); | ||
console.log(s); | ||
}); | ||
} | ||
console.log("Hello World"); | ||
test(); | ||
//# sourceMappingURL=bot.js.map |
{ | ||
"name": "@stock-bot/bot", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "> TODO: description", | ||
@@ -22,3 +22,4 @@ "author": "Steffan <skbrown333@gmail.com>", | ||
"test": "echo \"Error: run tests from root\" && exit 1", | ||
"tsc": "tsc" | ||
"tsc": "tsc", | ||
"start": "ts-node src/index.ts" | ||
}, | ||
@@ -28,7 +29,11 @@ "bugs": { | ||
}, | ||
"gitHead": "04cee242d9d653c7971d0aa5bc267204b66c3bfb", | ||
"gitHead": "f121e91e466fd8b7e06a2a098324890b394e673c", | ||
"dependencies": { | ||
"@stock-bot/modules": "^0.0.7", | ||
"@types/axios": "^0.14.0", | ||
"axios": "^0.19.0" | ||
}, | ||
"devDependencies": { | ||
"ts-node": "^8.2.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2281
116.62%20
1900%0
-100%3
50%1
Infinity%+ Added
+ Added