Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/wcarbon/src/helpers.ts>calculateEnergy

CLI tool for Website Carbon's API
Go to Latest
function calculateEnergy
import { calculateEnergy } from "https://deno.land/x/wcarbon@v1.3.2/src/helpers.ts";

Calculate the energy of an @param amount to a human-readable format.

Parameters

amount: number