Skip to content

Instantly share code, notes, and snippets.

@grantgeorge
Created June 3, 2018 23:34
Show Gist options
  • Save grantgeorge/69ea47a6bee8f9c7161e5d14281360a1 to your computer and use it in GitHub Desktop.
Save grantgeorge/69ea47a6bee8f9c7161e5d14281360a1 to your computer and use it in GitHub Desktop.
const Keen = require('keen-js')
const { keenIo: config } = require('config')
function client() {
// Configure instance. Only projectId and writeKey are required to send data.
return new Keen({
projectId: config.projectId,
writeKey: config.writeKey,
})
}
module.exports = client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment