Appconnect NodeJS npm package
npm install appconnect-nodeNodejs API wrapper for AppConnect.
```
npm install appconnect-node
`js`
// Require the library
const appconnect = require('appconnect-node');
//use your AppConnect Secret key
appconnect.config(APPCONNECT_SECRET_KEY); `
js`
//Sample Request
try {
const user = await appconnect.validateToken(token);
}
catch (err) {
console.log(err);
}
$3
- auth
- validateToken
- customer
- getKYC
- sendSMS
- sendPushNotification
To run tests
```
npm test
- Proper resource examples
- ES6 support