UNPKG

co2-shield

Version:

Calculate the environmental impact of a webpage and display it in your GitHub project as a Shields.io badge.

6 lines (5 loc) 166 B
import CO2Shield from './co2-shield.js'; window.onload = () => { const co2ShieldInstance = new CO2Shield("app-container"); co2ShieldInstance.initialize(); };