An open API service indexing awesome lists of open source software.

https://github.com/anonrig/iap-middleware


https://github.com/anonrig/iap-middleware

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

### Express In-App Purchase Validator Middleware

This project aims to add a middleware to validate the in app purchase receipts for NodeJs & ExpressJs.

##### Example:

```
const iapValidator = require('iap-middleware');

req.get('/validate', iapValidator, (req, res, next) => {
//Access IAP through req.iap

res.json(req.iap);
});

```