a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: fmt

Mary 3971ef97 182adc56

+5 -5
+5 -5
README.md
··· 10 10 ``` 11 11 12 12 ```ts 13 - import { Client, simpleFetchHandler } from "@atcute/client"; 14 - import type {} from "@atcute/bluesky"; 13 + import { Client, simpleFetchHandler } from '@atcute/client'; 14 + import type {} from '@atcute/bluesky'; 15 15 16 16 const client = new Client({ 17 - handler: simpleFetchHandler({ service: "https://public.api.bsky.app" }), 17 + handler: simpleFetchHandler({ service: 'https://public.api.bsky.app' }), 18 18 }); 19 19 20 - const { data } = await client.get("app.bsky.actor.getProfile", { 21 - params: { actor: "bsky.app" }, 20 + const { data } = await client.get('app.bsky.actor.getProfile', { 21 + params: { actor: 'bsky.app' }, 22 22 }); 23 23 24 24 console.log(data.displayName);