UNPKG

rsshub

Version:
12 lines (10 loc) 316 B
import { t as parseDate } from "./parse-date-BrP7mxXf.mjs"; //#region lib/routes/byteclicks/utils.ts const parseItem = (data) => data.map((item) => ({ title: item.title.rendered, description: item.content.rendered, pubDate: parseDate(item.date_gmt), link: item.link })); //#endregion export { parseItem as t };