@cloud-carbon-footprint/core
Version:
The core logic to get cloud usage data and estimate energy and carbon emissions.
9 lines (8 loc) • 475 B
TypeScript
import { CloudConstantsEmissionsFactors, CloudConstants, FootprintEstimate, IFootprintEstimator } from '../.';
import { NetworkingUsage } from '.';
export default class NetworkingEstimator implements IFootprintEstimator {
coefficient: number;
constructor(coefficient: number);
estimate(data: NetworkingUsage[], region: string, emissionsFactors: CloudConstantsEmissionsFactors, constants: CloudConstants): FootprintEstimate[];
private estimateKilowattHours;
}