A :revolving_hearts: Mint :package: wrapper library
A Mint wrapper library.
Features
- Retries :shit: failing requests in temporary and unexpected system and :boom: network failures :white_check_mark:
- Uses Brakes circuit breakers to :hand: fail-fast until it is safe to retry :white_check_mark:
- Supports Bluebird :bird: promises :white_check_mark:
How to install
npm install mint-wrapper
How to use
Use it in your app
Authorize Facebook account and get recommendations
const MintWrapper = require('mint-wrapper')
const mint = new MintWrapper()
const facebookAccessToken = 'my-facebook-access-token'
mint.authorize(facebookAccessToken)
.then(() => mint.getRecommendations())
.then(({ results }) => console.log(results))
How to contribute
You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.
All donation proceedings will go to the Sverige för UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.
Used by
- get-me-a-date - :heart_eyes: Help me get a :cupid: date tonight :first_quarter_moon_with_face:
License
Read the license for permissions and limitations.