Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

posthog-js-lite

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.5K
decreased by-20.23%
Maintainers
1
Weekly downloads
 
Created
Source

NPM Version minified minified + gzipped

This library is still a work in progress!

Reimplementation of posthog-js to be as light and modular as possible.

Goals:

  • simple api
  • can do autocapture, but enabled via a plugin (not yet)
  • runs in the oldest browsers (not yet)
  • might break some APIs (if not now, then when?)

Supports already:

  • very simple api
  • capture & identify calls
  • $context from window
  • only send events after optin if needed
  • payload compression
  • 10kb (includes 5kb compression code)

Browser support:

  • This library ES6 compatible browsers (everything except IE). If you need to support IE, feel free to transpile the source to ES5 after including it in your bundle.

FAQs

Package last updated on 27 Oct 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc