@federa/mastodon
v0.6.5
Published
Mastodon API client for Federa (with v4.5+ quote posts support)
Readme
@federa/mastodon
Mastodon API client for Federa.
Installation
npm install @federa/mastodonUsage
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();Features
- Authentication
- Timeline retrieval
- Post creation and interaction
- Profile management
- Notifications
Dependencies
- masto
- @federa/shared
License
ISC
