yarn add node-medium-feed
# or
npm install node-medium-feedimport { getLatest, getStory } from 'node-medium-feed'
const story = await getStory('[user-or-publication]', 'story-unique-slug')
const markdown = story.content.toMarkdown()
const latest = await getLatest('[user-or-publication]')
// ..yarn
yarn test:watchCopy, edit & rename serverless-example.yml as serverless.yml
yarn deploy-serverlessProject boilerplate provided by TypeScript Library Starter