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

promoted-snowplow-logger

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promoted-snowplow-logger

Logging utility for browser-side Typescript that logs Promoted events to our Metrics Snowplow-compatible API

  • 8.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
868
decreased by-20.95%
Maintainers
0
Weekly downloads
 
Created
Source

promoted-snowplow-logger

This event logger (tracker) library is used to simplify browser-side logging. It relies on the browser-side JS having the Snowplow tracker library installed. This library uses the Promoted Metrics Snowplow-compatible API. See the web integration guide to learn how to use this library.

Features

Uses

Scripts

  • Run most commands: npm run finish
  • Build the project: npm run build
    • Validate output bundle size with npm run size
  • Lint the project: npm run lint
  • Run unit tests: npm test or npm test

When developing locally

If you want to test local changes in an actual deployment, use npm link.

  1. Run npm run updateLink.
  2. Go to client directory and run npm link promoted-snowplow-logger.

When you update promoted-snowplow-logger, run npm run updateLink.

When you want to undo, use npm unlink in promoted-snowplow-logger/dist and npm unlink promoted-snowplow-logger in the client directory.

Deploy

We use a GitHub action that runs semantic-release to determine how to update versions. Just do a normal code review and this should work. Depending on the message prefixes (e.g. feat: , fix: , clean: , docs: ), it'll update the version appropriately.

Resources

The base of this repository is a combination of the following repos:

Keywords

FAQs

Package last updated on 08 Oct 2024

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