####A Node.js npm module to decode Salesforce signed-request from Salesforce Canvas
This library exports a single function to
decode the signed request.
var decode = require('salesforce-signed-request'); //json will have Salesforce context var json = decode('YOUR_SIGNED_REQUEST', 'API_SECRET');
- Install Mocha, expect, chai & should by running
- You may want to install Mocha globally by running
npm install -g mocha
- Simply run
mochain the command line.