1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-29 18:39:56 +02:00
Files
developer-roadmap/lib/author.js
2020-01-18 22:47:48 +04:00

4 lines
144 B
JavaScript

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