import { listen } from './routes.js'; import { PORT } from './config.js'; import * as npm from './apis/npm.js'; // const id = await createContainer('hello-world'); // const stream = await attachLogs(id) // stream.pipe(process.stdout); // await new Promise(res => { // stream.on('close', () => { // res(void 0); // }) // }) await npm.ready; listen(PORT); // console.log(await getProxyHosts()); // console.log((await listContainers()).map(container => container.Names));