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

github-normalizer

v0.1.3

Published

Robust, typed utilities to fetch, normalize, and sanitize raw GitHub REST and GraphQL API responses into consistent domain structures for open-source analytics.

Readme

@ossintel/github-normalizer

@ossintel/github-normalizer: Typed utilities for fetching and normalizing GitHub REST and GraphQL data into a consistent domain model for analytics and reporting.

@ossintel/github-normalizer

Typed utilities for fetching and normalizing GitHub data.

Purpose

GitHub's REST and GraphQL APIs expose excellent data but with inconsistent shapes and multiple endpoints.

This package provides a stable domain model consumed by the rest of OSSIntel.

Responsibilities

  • Fetch GitHub data
  • Normalize responses
  • Hide API complexity
  • Handle pagination
  • Handle rate limits
  • Provide strongly typed models

Non-goals

  • Scoring
  • AI
  • Business logic
  • UI

Planned API

fetchDeveloper();

fetchRepositories();

fetchRepository();

fetchOrganizations();

fetchContributors();

fetchLanguages();

fetchReleases();

Output

Always returns normalized domain models.

Never expose raw GitHub responses.

Design Principles

  • Pure TypeScript
  • Strong typing
  • Stable contracts
  • Easily replaceable backend

✨ Why @ossintel/github-normalizer?

  • Consistent Domain Model: Normalizes disparate GitHub REST and GraphQL responses into a single, clean TypeScript interface.
  • Auto Pagination & Rate Limit Handling: Simplifies fetching multi-page repository lists and respects API rate limits transparently.
  • Zero Ecosystem Pollution: Keeps business logic, scoring, and UI code out of the network fetching layer.

📦 Installation

[!TIP] This package (github-normalizer) is an official alias of @ossintel/github-normalizer.

We provide this package to offer shorter import paths and improved discoverability. While both packages provide identical functionality, @ossintel/github-normalizer is the primary source of truth.

  • Use github-normalizer if you prefer the shorter name or specific branding or ESM Only.
  • Use @ossintel/github-normalizer for the most stable long-term reference and standard alignment.

| Feature | @ossintel/github-normalizer | github-normalizer | | --- | --- | --- | | Source Code | ✅ Primary | 🔗 Proxy | | Updates | Immediate | Synchronized (Immediately) | | Bundle Size | 100% | 100% (Zero overhead) | | Format | ESM + CJS | ESM Only | | Maintenance | ✅ Primary | 🔗 Proxy (inherits) | | Security | ✅ Primary | 🔗 Proxy (inherits) |

Security: Security audits are performed on the canonical package; this alias inherits all security patches automatically.


$ pnpm add @ossintel/github-normalizer

or

$ npm install @ossintel/github-normalizer

or

$ yarn add @ossintel/github-normalizer

License

This library is licensed under the MIT open-source license.