Socket
Socket
Sign inDemoInstall

@segment/analytics.js-core

Package Overview
Dependencies
49
Maintainers
153
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @segment/analytics.js-core

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


Version published
Weekly downloads
23K
decreased by-5.25%
Maintainers
153
Created
Weekly downloads
 

Changelog

Source

3.13.7 / 2020-07-29

  • Publish types to npm
  • remove unnecessary --declaration flag from build script
  • update public interface with optional parameters for .init and .initialize
  • Added optional to args that get and set (#174)
  • Expose AJS types and update README (#173)
  • [Types] Move user.js to user.ts (#172)
  • Convert group, memory, metrics, normalize, pageDefaults and store to .ts (#171)
  • [TS] Move entity.js to entity.ts (#169)
  • v3.13.6 (#170)

Readme

Source

analytics.js-core

CircleCI Codecov

This is the core of Analytics.js, the open-source library that powers data collection at Segment.

To build this into a full, usable library, see the Analytics.js repository.

Using Types

We've recently introduced Typescript support and types to Analytics.js Core. While the exposed types still need some work (pull requests are welcome!), they're ready to be used.

Importing as an npm module

If you use analytics.js-core as an npm module, you can leverage its types out of the box: Example of using analytics js types

License

Released under the MIT license.

Keywords

FAQs

Last updated on 29 Jul 2020

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc