Is your feature request related to a problem? Please describe.
Add the ability for users to provide a single domain and check for a carbon.txt file present for that domain.
Describe the solution you'd like
This would be similar to the hosting.check() functionality, however would not (currently) permit multiple domains to be checked at once (by using an array). This would use the https://carbon-txt-api.greenweb.org/api/validate/domain/ endpoint.
Describe alternatives you've considered
Users can use a fetch request to lookup a domain using the endpoint above. This does not require CO2.js. The purpose to building this into CO2.js is to make it a bit easier.
Is your feature request related to a problem? Please describe.
Add the ability for users to provide a single domain and check for a carbon.txt file present for that domain.
Describe the solution you'd like
This would be similar to the
hosting.check()functionality, however would not (currently) permit multiple domains to be checked at once (by using an array). This would use thehttps://carbon-txt-api.greenweb.org/api/validate/domain/endpoint.Describe alternatives you've considered
Users can use a fetch request to lookup a domain using the endpoint above. This does not require CO2.js. The purpose to building this into CO2.js is to make it a bit easier.