open-index/open-npm huggingface dataset:
npm package: @0no-co/mixpanel-micro
Description: Tiny implementation of the Mixpanel browser API for modern browsers
Author: 0no.co
Latest version: 1.3.1

<div align="center">
  <h2>@0no-co/mixpanel-micro</h2>
  <strong>Tiny implementation of the Mixpanel browser API</strong>
  <br />
  <br />
  <a href="https://npmjs.com/package/@0no-co/mixpanel-micro">
    <img alt="Bundlesize" src="https://deno.bundlejs.com/?q=@0no-co/mixpanel-micro&badge" />
  </a>
  <br />
  <br />
</div>

`@0no-co/mixpanel-micro` is a Mixpanel utility library, based on
[mixpanel-lite](https://github.com/john-doherty/mixpanel-lite), which targets
modern browsers and makes use of the Beacon API if it's available.

It provides ESM exports of the Mixpanel Browser API and unlike `mixpanel-lite`
it:

- Makes use of the [Beacon
  API](https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API) if it's
  available
- Falls back on the [Fetch
  API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) with
  `keepalive: true` set if the Beacon API is unavailable
- Respects `navigator.onLine` and the `online` event, which are heuristics but
  have wide cross-browser support
- Uses the `visibilitychange` event to send events before a tab closes
- **Does not** implement offline storage for the event queue, and instead uses
  a best effort approach to sending events
npm package: @0nza1101/ngx-translate-router-scully-plugin
Description: A Scully plugin to support ngx-translate-router
Author: David Gilson
Latest version: 1.0.2

# @0nza1101/ngx-translate-router-scully-plugin

[![npm version](https://badge.fury.io/js/@0nza1101%2Fngx-translate-router-scully-plugin.svg)](https://badge.fury.io/js/@0nza1101%2Fngx-translate-router-scully-plugin)

This Scully plugin allows you to use ngx-translate-router. This plugin works with the latest Scully and Angular version. 
It doesn't import [@gilsdav/ngx-translate-router](https://github.com/gilsdav/ngx-translate-router) as a dependencie, that means it uses no Angular package to do the job.


## Installation
```
$ npm install @0nza1101/ngx-translate-router-scully-plugin --save-dev
```

## Usage

First, import the registerNgxTranslateRouter function into your Scully config file

```typescript
import { registerNgxTranslateRouter } from '@0nza1101/ngx-translate-router-scully-plugin';
```

Now register the plugin by calling this function giving your different language files

```typescript
registerNgxTranslateRouter({
  langs: {
    en: './src/assets/locales/en.json',
    fr: './src/assets/locales/fr.json'
  }
});
```