@santech/analytics-core
TypeScript icon, indicating that this package has built-in type declarations

7.0.0-beta.4 • Public • Published

@santech/analytics-core Dependency Status devDependency Status

@santech/analytics-core is a npm module that exports segment core bundle of the santech studio

Prerequisites

You need to have globally installed:

  • node 9.x.x
  • npm 5.x.x
  • yarn 1.x.x

Development

Install all the dependencies

yarn

Build the package

yarn build

Publish the package

npm publish

Require package in your project

npm i @santech/analytics-core -S

Import module

import { analytics } from '@santech/analytics-core';
// or
var analytics = require('@santech/analytics-core').analytics;
// or
var analytics = Santech.AnalyticsCore.analytics;

Examples

Angular 1

<script type="text/javascript" src="./node_modules/@santech/analytics-core/dist/umd/index.js"></script>
Santech.AnalyticsCore.analytics.page();

Angular 2

import { analytics } from '@santech/analytics-core';

analytics.page();

Package Sidebar

Install

npm i @santech/analytics-core

Weekly Downloads

1

Version

7.0.0-beta.4

License

MIT

Unpacked Size

837 kB

Total Files

12

Last publish

Collaborators

  • outilssantech