Socket
Socket
Sign inDemoInstall

analytics-node

Package Overview
Dependencies
44
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    analytics-node

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


Version published
Weekly downloads
509K
decreased by-4.99%
Maintainers
4
Install size
1.82 MB
Created
Weekly downloads
 

Changelog

Source

v3.0.0 / 2017-07-27

  • Flush on first message (#113)
  • Rename flushAfter to flushInterval (#112)
  • remove caching of dependencies on Circle CI
  • improve readme
  • rename README to readme
  • add license
  • disable npm package locks
  • improve package.json
  • moves files into root
  • remove Makefile in favor of npm scripts
  • remove yarn.lock
  • remove History.md in favor of gh releases
  • add editorconfig
  • Convert to ES6 (#110)
  • Remove continuous deployment (#109)
  • Switch from Mocha to AVA (#108)
  • Skip data in flush callbacks (#105)
  • Reset timer on flush (#103)
  • Remove superagent-retry module (#107)
  • Remove browserify build (#104)
  • Update README.md

Readme

Source

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>

Keywords

FAQs

Last updated on 27 Jul 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc