1.0.0 • Published 6 years ago

medium-posts v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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