npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@singi-labs/sifa-sdk

v0.11.1

Published

Sifa SDK — public client library for the Sifa AppView on AT Protocol. Shared by sifa-web and sifa-app.

Readme

Sifa SDK

Public client library for the Sifa AppView on AT Protocol.

Status: Alpha License: MIT CI npm Node.js TypeScript


Overview

Shared TypeScript SDK consumed by sifa-web (Next.js) and the upcoming sifa-app (Expo / React Native). Holds platform-agnostic logic so both clients stay in feature parity without duplicating code.

Published publicly so third-party developers can build their own AT Protocol clients against the Sifa AppView. Trust and reputation logic stays server-side in sifa-api; the SDK exposes only what is safe to publish.

Pre-1.0 software. The public API is unstable and may change in any minor release.


What this package contains

| Area | What it provides | | ----------- | ------------------------------------------------------------------------------------- | | Types | TypeScript types for Sifa data structures, generated from sifa-lexicons | | Schemas | Zod schemas mirroring lexicon constraints for runtime validation | | Query layer | TanStack Query keys, fetchers, and React hooks for calling sifa-api | | ATproto | Wrapper around @atproto/api that accepts an authenticated agent | | Format | Pure formatters for dates, locations, profile completeness | | Logic | Business-logic predicates (display-only; server-side trust logic lives in sifa-api) | | Taxonomy | Constants and enums (continents, industries, skill categories, activity tiers) | | Tokens | Sifa-brand design tokens, exported via @singi-labs/sifa-sdk/tokens (optional) |


Quick Start

pnpm add @singi-labs/sifa-sdk
import { SIFA_SDK_VERSION } from '@singi-labs/sifa-sdk';

console.log(SIFA_SDK_VERSION);

Optional design tokens (skip if you have your own brand):

import { colors, spacing } from '@singi-labs/sifa-sdk/tokens';

Classify an AT Protocol NSID into one of three activity tiers (creation, action, filtered). Unknown NSIDs default to filtered:

import { getActivityTier, getTierMeta } from '@singi-labs/sifa-sdk';

getActivityTier('app.bsky.feed.post'); // 'creation'
getActivityTier('app.bsky.feed.like'); // 'action'
getTierMeta('creation'); // { label: 'Made', shownOnPublicProfile: true, ... }

For third-party developers

This SDK is the recommended way to build clients against the Sifa AppView. It does not depend on react-dom, react-native, next, or any browser/Node-only storage API -- it runs anywhere TypeScript runs.

If you have a use case the current public surface does not cover, open an issue on singi-labs/sifa-workspace.


Development

pnpm install
pnpm build
pnpm test
pnpm lint
pnpm typecheck

Standards:

  • Strict TypeScript -- strict: true, no any
  • Pinned exact dependency versions
  • Conventional commits enforced by commitlint
  • Every published-API change requires a changeset (pnpm changeset)

All changes go through Pull Requests. CI must pass before merge.


Related Repositories

| Repository | Description | License | | ------------------------------------------------------------------------- | -------------------------------------- | ---------------- | | singi-labs/sifa-api | AppView backend that this SDK consumes | Source-available | | singi-labs/sifa-web | Next.js web client (consumes this SDK) | Source-available | | singi-labs/sifa-lexicons | AT Protocol lexicon schemas | MIT | | singi-labs/sifa-workspace | Project coordination, issues, roadmap | Public |


Community


License

MIT -- permissive, so that third-party developers can build their own ATproto-based professional profile clients on top of this SDK.

See LICENSE for full terms.


(c) 2026 Sifa