Simple CacheKey client for publishing, updating and removing cache keys with Millicore
npm install fh-cachekey-clientSimple CacheKey client for publishing, updating and removing cache keys with Millicore.
var mcache = require('fh-cachekey-client')({
millicore : {
serviceKey : '1a2b...',
url : 'http://testing.feedhenry.me'
},
rejectUnauthorized : true // passes to rejectUnauthorized property of request
})
npm test
Acceptance tests (which don't run by default):
./node_modules/.bin/mocha -A -u exports --recursive -t 10000 test/test-accept.js