https://github.com/anonrig/iap-middleware
https://github.com/anonrig/iap-middleware
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anonrig/iap-middleware
- Owner: anonrig
- Created: 2016-05-15T20:39:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-16T13:10:30.000Z (about 10 years ago)
- Last Synced: 2025-10-21T19:52:53.264Z (9 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
});
```