npm

Need private packages and team management tools?Check out npm Orgs. »

zetta-volos-analytics

0.1.0 • Public • Published

zetta-volos-analytics

An extension for Zetta to allow analytics via volos.

Install

npm install zetta-volos-analytics

Example

var zetta = require('zetta');
var AnalyticsExtension = require('zetta-volos-analytics');
var inMemoryAnalytics = require('volos-analytics-memory');
 
var options = {
  bufferSize: 3,
  flushInterval: 1000,
  batchSize: 3
};
 
var analytics = inMemoryAnalytics.create(options);
 
analytics.spi.on('makeRecord', console.log);
 
zetta()
  .use(AnalyticsExtension(analytics))
  .listen(3000);

License

MIT

install

npm i zetta-volos-analytics

Downloadsweekly downloads

1

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability