Get specific data from a .json file using djs

{
"name": NAME:,
"version": VERSION,
}
{
"name": NAME:,
"version": VERSION,
}
How would i use javascript to get the data "version" from the .json and store it in a variable?
1 Reply
souji
souji2y ago
this has nothing to do with discord.js, you can find information on requiring, reading and/or parsing JSON files online