Files
crates/index.ts
T
2022-07-22 21:30:36 +10:00

18 lines
374 B
TypeScript

import fs from 'fs/promises';
import discogsService from './src/discogs';
import sellers from './sellers';
async function start() {
const discogs = discogsService();
// return discogs.wantlist('margh');
return discogs.inventory(sellers[2]);
}
start()
.then(r => console.log(r))
.catch(e => {
console.error(e);
process.exit(1);
});