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

@aclymatepackages/emissions-factors

v1.7.1

Published

Single source of truth for every emissions factor Aclymate uses. Factors are versioned in git, validated against a unified schema, and published to npm on every merge.

Downloads

564

Readme

@aclymatepackages/emissions-factors

Single source of truth for every emissions factor Aclymate uses. Factors are versioned in git, validated against a unified schema, and published to npm on every merge.

Install

npm install @aclymatepackages/emissions-factors

Usage

const {
  getFactor,
  findFactorsByAlias,
  findFactorsBySearchTerm,
  listFactorTypes,
  listFactorsByType,
  manifest
} = require("@aclymatepackages/emissions-factors");

getFactor("ceda-481000-US-2023"); // returns the air-transportation CEDA factor
findFactorsByAlias("Air transportation"); // returns matches across all factor types
listFactorTypes(); // ["ceda_dataset_version", "ceda_region_fallback", ...]
listFactorsByType("vehicle"); // every vehicle factor (gasoline, diesel, hybrid, ...)

manifest.package_version; // "1.0.0"
manifest.git_commit_sha; // hash of the commit this build was published from
manifest.factor_count; // total number of factor objects published

getFactor returns undefined (not null) on miss. Alias and search-term lookups use lower-cased, whitespace-trimmed string matching and return arrays sorted by factor_type then factor_id.

Propose a change

Don't edit the JSON files directly. Use the "Emissions Factors" section inside aclymate-internal-admin. The admin UI form-validates your edit, opens a single-file PR via the Aclymate GitHub App, and routes it through CODEOWNERS review (William + Mike). On merge, the publish workflow bumps semver, regenerates manifest.json, tags the commit, and publishes to npm.

Factor schema

Every factor object conforms to a unified shape:

{
  factor_id: "egrid-serc-2024",
  factor_type: "egrid",
  category: "SERC Reliability Corporation",
  keys: { /* type-specific lookup keys */ },
  values: { /* metric → number */ },
  units: { /* metric → unit string */ },
  source: {
    name: "EPA eGRID",
    citation: "EPA eGRID 2024 Summary Tables",
    url: "https://www.epa.gov/egrid",
    attribution_license: null,
    vintage_year: 2024
  },
  aliases: ["SERC", "Southeast Reliability"],
  search_terms: ["serc", "southeast", "us"],
  methodology_id: null
}

schema.js ships a pure-JS validateFactor(obj) for use in tooling.