@segment/analytics.js-core
Version:
The hassle-free way to integrate analytics into any web application.
20 lines (19 loc) • 510 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Analytics.js
*
* (C) 2013-2016 Segment.io Inc.
*/
var Analytics = require('./analytics');
// Create a new `analytics` singleton.
var analytics = new Analytics();
// Expose `require`.
// TODO(ndhoule): Look into deprecating, we no longer need to expose it in tests
analytics.require = require;
// Expose package version.
analytics.VERSION = require('../package.json').version;
/*
* Exports.
*/
module.exports = analytics;