Mastodon API client for Federa (with v4.5+ quote posts support)
npm install @federa/mastodonMastodon API client for Federa.
``bash`
npm install @federa/mastodon
`typescript
import { MastodonClient } from '@federa/mastodon';
// Create a new client
const client = new MastodonClient({
instance: 'https://mastodon.social',
accessToken: 'your-access-token'
});
// Get timeline
const timeline = await client.getTimeline();
``
- Authentication
- Timeline retrieval
- Post creation and interaction
- Profile management
- Notifications
- masto
- @federa/shared
ISC