- Get your archive from twitter
- Find tweets.js; if you have a lot of tweets you may also have a tweets-part1, part2 etc.
- Modify the first line of each of those files to:
let data = [
and add this to the last line
module.exports = data
Then use toptweets.mjs