Mastodon Preset for KKna.
# npm
npm install @kkna/preset-mastodon
# yarn
yarn add @kkna/preset-mastodon
# pnpm
pnpm install @kkna/preset-mastodon
# bun
bun install @kkna/preset-mastodon
import { provider } from '@kkna/context'
import { mastodon } from '@kkna/preset-mastodon'
const provide = provider(document.body, {
initialValue: {
presets: [
/** @see {@link https://mastodon.social/@Mastodon/112343541328038890} */
mastodon({
id: '112343541328038890',
instance: 'https://mastodon.social',
}),
],
},
})
provide.hostConnected()
MIT