You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
CO2.js v0.16 introduced the ability to access methods that were previously private within a given model class. This was applied in PR thegreenwebfoundation/co2.js#220.
These methods could be used by developers to do more than just estimate carbon emissions - allowing them to expose information about estimated energy use, operational v. embodied emissions, and more.
However, there's no documentation for these methods.
Describe the solution you'd like
These private methods should be documented on the Methods page in the CO2.js section of the docs website.
Describe alternatives you've considered
We've tried to expose these via alternate tooling like JSR, however that's no possible without a rewrite of the library to TypeScript which is something we're not in a position to steward at this time.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
CO2.js v0.16 introduced the ability to access methods that were previously private within a given model class. This was applied in PR thegreenwebfoundation/co2.js#220.
These methods could be used by developers to do more than just estimate carbon emissions - allowing them to expose information about estimated energy use, operational v. embodied emissions, and more.
However, there's no documentation for these methods.
Describe the solution you'd like
These private methods should be documented on the Methods page in the CO2.js section of the docs website.
The methods to be document are:
Sustainable Web Design v4
Sustainable Web Design v3
Describe alternatives you've considered
We've tried to expose these via alternate tooling like JSR, however that's no possible without a rewrite of the library to TypeScript which is something we're not in a position to steward at this time.
The text was updated successfully, but these errors were encountered: