Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
wcarbon
/
src
/
cli.ts
Access Website Carbon's API for checking carbon emissions for websites with Deno.
timharek/wcarbon
Version
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v1.4.0
v1.3.2
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v1.3.1
v1.3.0
v1.2.0
1.2.0
1.1.2
Go to Latest
Menu
cli_utils.ts
f
dataOutput
f
siteOutput
cli.ts
T
GlobalOptions
schemas.ts
T
CO2
T
v
DataResponse
T
v
SiteResponse
util.ts
f
_fetch
f
calculateEnergy
f
calculateSize
f
getWebsiteCarbonUrl
f
isValidUrl
f
stripHttpString
wcarbon.ts
I
SiteCalculated
T
Data
T
DataRequest
f
data
f
dataCalcuated
f
site
f
siteCalcuated
import
*
as
wcarbon
from
"https://deno.land/x/wcarbon@v3.0.0/src/cli.ts"
;
Type Aliases
T
GlobalOptions