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

@hoodx/sdk

v0.1.0

Published

TypeScript SDK for the HoodX API

Readme

@hoodx/sdk

Generated TypeScript SDK for the HoodX API. It uses the Fetch API and works with Expo and React Native.

Install

pnpm add @hoodx/sdk

Expo authentication

Install expo-secure-store in the Expo app and adapt it to the SDK token store:

import * as SecureStore from "expo-secure-store";
import {
  createHoodxClient,
  postAuthLogin,
} from "@hoodx/sdk";

const TOKEN_KEY = "hoodx.session";
const client = createHoodxClient({
  baseUrl: process.env.EXPO_PUBLIC_HOODX_API_URL!,
  sessionTokenStore: {
    get: () => SecureStore.getItemAsync(TOKEN_KEY),
    set: (token) => SecureStore.setItemAsync(TOKEN_KEY, token),
    delete: () => SecureStore.deleteItemAsync(TOKEN_KEY),
  },
});

const result = await postAuthLogin({
  client,
  body: { email, password },
});

The client sends X-Session-Token on authenticated requests, stores rotated tokens, preserves pending authentication sessions, and clears invalid sessions. Do not store session tokens in AsyncStorage.

Development

openapi.json is exported from the HoodX backend and is the source of truth for generated files under src/generated/.

pnpm install
pnpm generate
pnpm check

Do not edit src/generated/ manually.

Release

The first release must be published by an npm organization owner because the package does not exist yet:

npm login
npm publish --access public --provenance=false

Local publishing cannot generate provenance because it does not run under a supported cloud CI identity provider.

After the package exists, configure npm trusted publishing for:

  • GitHub organization: HoodX-Live
  • Repository: sdk-ts
  • Workflow: .github/workflows/publish.yml
  • Environment: npm

Subsequent releases use GitHub Actions:

  1. Update version in package.json.
  2. Commit the regenerated SDK and lockfile.
  3. Push a tag matching the package version:
git tag sdk-v0.1.0
git push origin sdk-v0.1.0

The release workflow verifies the version, builds and tests the package, and publishes it to npm with provenance.