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
souji3y ago
this has nothing to do with discord.js, you can find information on requiring, reading and/or parsing JSON files online
Want results from more Discord servers?
Add your server