/getavi

JS library for returning image URL from a social media profile

Primary LanguageJavaScript

getavi

A simple JS library to return the image URL from a social media profile.

Installation:

# with yarn
yarn add getavi

# with npm
npm install getavi

Examples:

const getAvi = require('getavi')

const imageUrl = getAvi('https://github.com/zachlatta') // returns a link to an image file of @zachlatta’s avatar

Supported Platforms:

  • GitHub
  • Facebook
  • Twitter
  • more to come! open an issue or PR if you’d like more platforms