mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-02-25 12:03:17 +01:00
4 lines
144 B
JavaScript
4 lines
144 B
JavaScript
import authors from "storage/authors";
|
|
|
|
export const findByUsername = (username) => authors.find(author => author.username === username) || {};
|