const IPFS = require('ipfs') async function main() { const ipfs = await IPFS.create({ host: 'ipfs.infura.io', port: 5001, protocol: 'http', headers: { authorization: 'Bearer ' + "TOKEN" } }) }