Readme

Returns a list of posts and their related data for the specified dev.to author. It uses dev.to API.

1
2
3
4
export const getDevToPublicPosts = async (username: string) => {
let data = await fetch(`https://dev.to/api/articles?username=${username}`);
return await data.json();
};
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
November 30, 2023