medium-posts

1.0.0 • Public • Published

medium posts

A cheeky way to get a medium user info and post info without an api token.

Build Status

Usage

const { getPosts, getUser } = require('medium-posts')

// latest 10 posts by hobochild
getPosts('hobochild', 10).then(console.log)

// get basic user info
getUser('hobochild').then(console.log)

caveats

This won't work in a browser environment due to cors restrictions

Related

/medium-posts/

    Package Sidebar

    Install

    npm i medium-posts

    Weekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • hobochild