Skip to content

v0.19 - lookup domain for carbon.txt

Latest

Choose a tag to compare

@fershad fershad released this 29 Jun 07:13
v0.19.0
25f308c

Perform carbon.txt lookups with CO2.js

Recently, we made our carbon.txt API public allowing anyone to look up, parse and validate carbon.txt files in their own applications.

In this release of CO2.js, we introduce the ability for developers to lookup a web domain using our carbon.txt API. This allows developers to quickly check for the existence of a carbon.txt file on a given domain, and if one is found then returns the contents of that file in a JSON format. This mirrors the green hosting check functionality which has existed in CO2.js since 2019.

We're written a full tutorial on our developer docs site - Check a domain for carbon.txt.

What's Changed

Full Changelog: v0.18.0...v0.19.0