1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-24 11:33:09 +01:00
2019-11-06 18:20:09 +04:00

4 lines
141 B
JavaScript

import authors from "data/authors";
export const findByUsername = (username) => authors.find(author => author.username === username) || {};