Skip to content
Embed a list of your most recent DEV posts with this tiny library πŸ’Œ
HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Apr 6, 2019

Embed Your Latest DEV Posts Anywhere!

A tiny library for embedding your latest DEV posts, sorted by popularity. Explainer post here!

function createFeed(elem, username, numberOfPosts = 5)

Creates a feed of DEV posts.

  • Parameters:
    • elem β€” Element β€” Place list of posts inside this element.
    • username β€” string β€” DEV username, e.g. 'ben'.
    • numberOfPosts β€” number β€” Number of posts to list.

Generates HTML that looks like this:

<div class="example">
  <ul class="dev-feed-list">
    <li class="dev-feed-item">
      <a href="">
        DEV Community Is Open-Sourcing Its Performance Metrics via Skylight

Use .dev-feed-list to style the list and .dev-feed-item to style the items.

Accepting PRs/issues πŸ‘

You can’t perform that action at this time.