Implement a JS function which reads the Social Links JSON file
Description
Implement a JS function in index.js which reads the JSON file social-links.json and return a object having keys as names of social media and links as their respective values.
Requirements
The JS function should read the JSON file properly.
Implement a JS function which reads the Social Links JSON file
Description
Implement a JS function in
index.js
which reads the JSON filesocial-links.json
and return a object having keys as names of social media and links as their respective values.Requirements
index.js
only."social_media_name": "link"
.If you have any suggestion or idea, you're welcome to share.
Let's read all the links for SocialRepo extension 🙌