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: prefer switch over if chains

Mary 48eade81 bf5611c9

+1
+1
CLAUDE.md
··· 45 45 (e.g., when passing the method as a callback that needs `this` binding) 46 46 - use braces for control statements, even single-line bodies 47 47 - use bare blocks `{ }` to group related code and limit variable scope 48 + - prefer `switch` over `if`/`else if` chains when branching on a single discriminant value 48 49 - avoid barrel exports (index files that re-export from other modules); import directly from source 49 50 - use `// #region <name>` and `// #endregion` to denote regions when a file needs to contain a lot 50 51 of code