import { createInstance } from 'dotbit'
import { BitPluginAvatar } from '@dotbit/plugin-avatar'
const dotbit = createInstance()
dotbit.installPlugin(new BitPluginAvatar())
dotbit.avatar('imac.bit').then(console.log) // { url: 'https://thiscatdoesnotexist.com' }
MIT License (including all dependencies).