Files
developer-roadmap/lib/author.js

4 lines
144 B
JavaScript
Raw Normal View History

2020-01-18 22:47:48 +04:00
import authors from "content/authors";
2019-11-01 04:14:38 +04:00
export const findByUsername = (username) => authors.find(author => author.username === username) || {};