As with any NPM package:
npm install caseblocks --save
Caseblocks object, which is the main proxy with the Caseblocks REST API, has to first be initialized with the proper parameters:
const Caseblocks = require('caseblocks') Caseblocks.setup("http://yourpathtocaseblocks.com:8080", "your_user_token")
The user token may be found in the User settings section of the Caseblocks web interface.
Still having issues or have a question that is not covered here get in touch and we’ll be able to get you on the right track in no time at all.Did you see our help page?