0.3.0 • Published 7 years ago

medium-fetcher v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

medium-fetcher

code style Standard Version

medium-fetcher provides a simple interface to get user and post data from medium

Install

yarn add medium-fetcher

or

npm install -S medium-fetcher

Usage

import medium from 'medium-fetcher'

// to fetch a user
const username = 'uesteibar'
medium.fetchUser({ username }).then(
  (user) => console.log({ user })
)

Contributing

The project uses standard-version to update the CHANGELOG with each commit message and upgrade the package version. For that reason every contribution should have a title and body that follows the conventional-changelog-standard conventions.

So this is a step by step guide to contributing to the project (mostly extracted from the standard-version docs):

  1. when you land commits on your master branch, select the Squash and Merge option.
  2. add a title and body that follows the conventional-changelog-standard conventions.
  3. when you're ready to release to npm:
  4. git checkout master; git pull origin master
  5. run npm run release

Helpers/Tools