So I am trying using a package called "app-store-scraper"
All of the examples look something like this:
var store = require('app-store-scraper');
store.app({id: 553834731}).then(console.log).catch(console.log);
but all it does is print it to the console. So I was wondering how to put it into a variable?
I have tried to do var test = store.app({id: 553834731})
but it returns nothing
Edit:
I'm using this to return like res.end();
on a webserver.
so I'm trying to return store.app()