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

@evmexplorer/climate

v0.0.3

Published

EVM Explorer Climate SDK

Readme

EVMExplorer-Climate

EVM Explorer TypeScript Climate SDK.

This repository provides TypeScript types and functions for fetching data regarding energy consumption and carbon emissions related to popular cryptocurrencies such as Bitcoin, Ethereum, and Dogecoin, as well as Dovu carbon credit data.

Types

  • BitcoinDogeEnergy
  • EthereumEnergy
  • AddressDovu
  • PriceDovu
  • MarketDebtDovu

Functions

  • fetchBitcoin(date: string): Promise
  • fetchDogecoin(date: string): Promise
  • fetchEthereum(date: string): Promise
  • fetchAddressDovu(address: string): Promise
  • fetchPriceDovu(): Promise
  • fetchMarketDebtDovu(): Promise

📚 Install

npm install @evmexplorer/climate

or

yarn add @evmexplorer/climate

Usage

Fetching Energy Data

To fetch energy-related data for Bitcoin, Ethereum, or Dogecoin, you can use the respective fetch functions:

import { fetchBitcoin } from '@evmexplorer/climate';

// Example to fetch Bitcoin data for a specific date
const bitcoinData = await fetchBitcoin('20250301');
console.log(bitcoinData);

Fetching Dovu Data

To fetch carbon credit data related to specific addresses or general market debt:

import {
  fetchAddressDovu,
  fetchPriceDovu,
  fetchMarketDebtDovu,
} from '@evmexplorer/climate';

// Example to fetch the Dovu carbon compensation data for an address
const addressDovu = await fetchAddressDovu(
  '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
);
console.log(addressDovu);

// Fetch the current price of Dovu carbon credits
const dovuPrice = await fetchPriceDovu();
console.log(dovuPrice);

// Fetch market debt details of Dovu
const marketDebt = await fetchMarketDebtDovu();
console.log(marketDebt);

Types Overview

BitcoinDogeEnergy

type BitcoinDogeEnergy = {
  '24hr_kWh': string;
  '24hr_kgCO2': string;
  Output_kWh: string;
  Output_kgCO2: string;
};

EthereumEnergy

type EthereumEnergy = {
  '24hr_kWh': string;
  '24hr_kgCO2': string;
  Gas_unit_Wh: string;
  Gas_unit_gCO2: string;
};

AddressDovu

type AddressDovu = {
  account: string;
  address_carbon_emissions: number;
  address_gas_used: number;
  address_transaction_count: number;
  dov_per_kg: number;
  dov_price: number;
  dov_to_buy: number;
};

PriceDovu

type PriceDovu = {
  currency: string;
  price: number;
  quote_created_at: string;
  ticker_symbol: string;
};

MarketDebtDovu

type MarketDebtDovu = {
  date: string;
  total_gas: number;
  gas_used: number;
  day_change: number;
  percent_day_change: number;
  total_carbon_debt: number;
  day_carbon_debt: number;
  day_change_carbon_debt: number;
  cost_to_offset: number;
};

More information

EVM Explorer Climate Smart Contracts Page

EVM Explorer - Tracking Smart Contract Transaction Data

Digiconomist API Documentation

DOVU carbon API