@vim-crouwel/cfpc
Version:
TypeScript library for calculating CO2 emissions from food, energy, and transportation
8 lines (7 loc) • 453 B
TypeScript
export * as food from "./calculators/food";
export * as energy from "./calculators/energy";
export * as transportation from "./calculators/transportation";
export type { FoodCategory, FoodItem, FoodGroup } from "./types/food";
export type { EnergyCategory, EnergyCO2PerKwh } from "./types/energy";
export type { TransportationCategory, TransportationMode } from "./types/transportation";
export { getFood, getEnergy, getTransportation } from "./utils";