Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format output js for the data files #104

Closed
mrchrisadams opened this issue Sep 12, 2022 · 2 comments
Closed

Format output js for the data files #104

mrchrisadams opened this issue Sep 12, 2022 · 2 comments

Comments

@mrchrisadams
Copy link
Member

No description provided.

@fershad
Copy link
Contributor

fershad commented Sep 12, 2022

To make it easier to read and share the marginal/average intensity data, we should provide a formatted version of the JS and JSON files generated as part of #102 and #100.

A minified version should also be retained to facilitate importing the data into CO2.js at a later time.

@fershad
Copy link
Contributor

fershad commented Sep 12, 2022

This can be done with Prettier. Leaving this gist as a reference https://gist.github.com/Mohamed3on/840b34ecb7e9abf06ace035183b7f1fc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants