MCPcopy Index your code
hub / github.com/dracula/visual-studio-code / get

Function get

scripts/lint.js:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10];
11
12const get = url =>
13 new Promise((resolve, reject) => {
14 https.get(url, res => {
15 let body = '';
16 res.setEncoding('utf8');
17 res.on('data', data => (body += data));
18 res.on('end', () => resolve(body));
19 res.on('error', reject);
20 });
21 });
22
23async function scrapeThemeAvailableKeys() {
24 const data = await get(THEME_COLOR_REFERENCE_URL);

Callers 1

scrapeThemeAvailableKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected