simple, lightweight client module for REDCap
- Easy to use module-based api
- Callback architecture for easy integration
- Standardized design to provide consist look and feel across REDCap modules
- Integrate multiple REDCap projects into a single application
npm install redcap --save Here is a simple example of exporting (or reading) all the records in a project:
const config = { host: 'someredcapserver.edu', path: '/apipath/' }; const redcap = require ('redcap') (redcapToken, config); redcap.records.export (function (err, res) { if (err) { // handle error } else { console.log (res); } };For more information on how redcap.js works and how you can implement it into your own project, check out the wiki.