-
Notifications
You must be signed in to change notification settings - Fork 101
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
.js data to .csv #87
Comments
A json file is probably more suitable. Also, regarding the roadmap of this app, do you also consider adding a backend or a data access layer? @ln-dev7 |
and why that ? |
It's the most adopted format I believe. Obviously, it's a matter of collective deciding. Either way is fine IMHO. |
this doesn't answer the question on "why the .json format is more suitable", sorry ! To see from where this issue is originated, please check : https://x.com/ln_dev7/status/1701336511365496973?s=20 |
More suitable in the sense that most developers tend to use it (by convention) as storage format. Ultimately, it doesn't matter which format is chosen. |
Going to add onto this issue as it seems nothing has changed yet: I believe the idea to migrate to a |
A You don't need a "special editor" to open it or read it.
How is this csv content :
harder to read/understand than : [
{
"id": 1,
"name": "sanix",
"age": 10,
"color": "dark",
},
{
"id": 2,
"name": "ask",
"age": 11,
"color": "red",
},
{
"id": 3,
"name": "doum",
"age": 8,
"color": "yellow",
},
] This issue is essentially for performances reasons; And finally as i said previously, this is just a proposal, so if it's okay with json for everyone, let's go with that 😎 |
Most people who edit large CSV files usually resort to a desktop or online editor program to make it easier and simpler. Some While I agree that a However, why not create a GitHub action script that converts the existing JSON data (easy to read and modify) and automatically converts it to a
It could also possibly be interesting to look into a database system which would allow partial data loading in case we get a lot of inputs and the files get very big. It's probably overkill for now but could be an idea for later. |
Migrate the way datas are saved on js code to a more readable and simple format like .csv
EDIT:
Originally idea from : https://x.com/ln_dev7/status/1701336511365496973?s=20
The text was updated successfully, but these errors were encountered: