Files
developer-roadmap/lib/author.js

4 lines
141 B
JavaScript
Raw Normal View History

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