Created
March 9, 2023 23:00
-
-
Save hendrixroa/4c97e27caa90ba893fe983cab5a27a73 to your computer and use it in GitHub Desktop.
Merging data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const dataMerged = allNamesRepos.map((repo: any, index: number) => { | |
| const obj = { | |
| name: repo.name, | |
| starsToday: allStarsRepos[index].stars, | |
| }; | |
| return obj; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment