npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@metarouter/analytics.js-integrations

v1.0.7

Published

Metarouter analytics.js-integrations

Downloads

249

Readme

Analytics.js Integrations

CircleCI

Introduction

This repo stores the majority of the analytics.js integrations that Segment currently supports. It is organized as a monorepo with each individual integration packaged and deployed as their own npm modules.

Getting Started

To start contributing, please ensure you have the following installed on your local machine:

Once these pre-requisites are met, feel free to clone the repo locally and install the required dependencies:

git clone https://github.com/segmentio/analytics.js-integrations && cd analytics.js-integrations
yarn

Contributing

All individual integrations are stored in the integrations/ directory. We recommend navigating into the individual integration you are contributing to in your terminal rather than working from the root directory:

cd integrations/<INTEGRATION_NAME>

Breaking Changes

Please note, there is currently no way for user's of these integrations to choose specific versions. Therefore, all changes must always be fully backwards compatible. If a change is breaking it will not be considered.

Adding Dependencies

If you need to add an external dependency to an integration, please ensure you add it within the integration directory, not the root directory. That being said, please keep in mind that these integrations are run client side. Please only add external dependencies if it is critical to your code changes.

Running Tests

Each integration directory has an npm script called test that you can use to easily run the unit tests with via yarn test.

Test Locally

You can test changes to integrations locally with the a.js compiler.

Code Formatting

This project uses eslint to ensure uniform code formatting standards are maintained. You can see the specific eslint config in the root .eslintrc file. A pre-commit hook is used to help automate this process for you.

Pull Requests

Please make sure your PR includes the new version in package.json as well as an update to the integration's HISTORY.md file describing the change.

Releasing

All releases are handled by Segment engineers. Releases will be managed after a change has been approved and merged.