mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
4 lines
141 B
JavaScript
4 lines
141 B
JavaScript
import authors from "data/authors";
|
|
|
|
export const findByUsername = (username) => authors.find(author => author.username === username) || {};
|