JSPM

  • Created
  • Published
  • Downloads 451911
  • Score
    100M100P100Q175043F
  • License MIT

The hassle-free way to integrate analytics into any Node.js application

Package Exports

  • analytics-node

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (analytics-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

analytics-node CircleCI

A Node.js client for Segment — The hassle-free way to integrate analytics into any application.

Installation

$ npm install analytics-node

Usage

const Analytics = require('analytics-node');

const client = new Analytics('write key');

client.track({
  event: 'event name',
  userId: 'user id'
});

Documentation

Documentation is available at https://segment.com/libraries/node.

License

Copyright © 2017 Segment Inc. <friends@segment.com>