import { hnPrefixURL } from "https://esm.town/v/stevekrouse/hnPrefixURL";
export let hnStoryToText = ({
author,
title,
url,
points,
num_comments,
objectID,
}) => `# ${author} posted ${title}
${url}
${hnPrefixURL}${objectID}
[${points} upvotes, ${num_comments} comments]`;