open-index/open-npm huggingface dataset:
npm package: @loganbussey/change-segment-metric-host
Description: When changing the Segment `apiHost` to point to a proxy using the integration options on the `analytics.load()` call, `identify`, `page`, `track`, and `screen` calls will be made to your proxy, but Segment's internal metric calls will still be made to `ap
Latest version: 1.0.0

# Segment Metrics API Host Changer

When changing the Segment `apiHost` to point to a proxy using the integration options on the `analytics.load()` call, `identify`, `page`, `track`, and `screen` calls will be made to your proxy, but Segment's internal metric calls will still be made to `api.segment.io`. There's no way to pass in a different metrics host and you would usually have to contact their support team to ask them to change the tracking code loaded by the snippet. This small script intercepts XHR requests and modifies the URL of metric calls to go through your proxy instead.

E.g. When using the following code to change the `apiHost`,

```js
analytics.load("yourWriteKey", {
  integrations: {
    "Segment.io": {
      apiHost: "segment.example.com/v1",
    },
  },
});
```

## Installation & Usage

### NPM
```sh
$ npm install @loganbussey/change-segment-metric-host --save
```

```js
import changeMetricHost from '@loganbussey/change-segment-metric-host';

changeMetricHost('api.example.com');
```
npm package: @loganbussey/ready
Description: async/await version of DOMContentLoaded
Author: Luke Bussey
Latest version: 1.1.1

# Ready

An async/await version of DOMContentLoaded.

## Installation

```sh
$ npm install @loganbussey/ready
```

## Usage

```js
import ready from '@loganbussey/ready';

(async () => {
  await ready();
  console.log('DOM ready!');
})();
```
npm package: @loganbussey/xhr-intercept
Description: A small utility to intercept in-flight XHR requests and to change the URL before they are sent. Useful for modifying the API endpoint URLs of externally loaded tracking scripts if running your own proxy. E.g. [@loganbussey/change-segment-metric-host](http
Latest version: 1.0.0

# XHR Intercept

A small utility to intercept in-flight XHR requests and to change the URL before they are sent. Useful for modifying the API endpoint URLs of externally loaded tracking scripts if running your own proxy. E.g. [@loganbussey/change-segment-metric-host](https://github.com/loganbussey/change-segment-metric-host)

## Installation & Usage

### NPM
`$ npm install @loganbussey/xhr-intercept --save`

```js
import xhrIntercept from '@loganbussey/xhr-intercept';

xhrIntercept('api.foo.com', 'api.bar.com');
```
npm package: @logandelmairedev/logger
Description: A logger for TypeScript/JavaScript
Author: Logandelmairedev
Latest version: 1.0.1

# @logandelmairedev/logger

A simple and configurable logger for TypeScript/JavaScript applications.

## ✨ Features

- ✨ Simple and lightweight
- 📝 File logging support
- ⚡ Configurable via environment variables
- 🔍 Context-based logging
- 🕒 Optional timestamps
- 🚀 TypeScript support

---

## 📦 Installation

```bash
npm install @logandelmairedev/logger
```

```package.json
"@logandelmairedev/logger": "^1.0.0"
```

---

## 🚀 Usage

```typescript
import { Logger } from '@logandelmairedev/logger';

{/*example usage*/}
logger.info('Hello, world!');
logger.error('An error occurred', new Error('Something went wrong'));
logger.debug('Debug message', { data: 'some data' });
logger.warn('Warning message', { data: 'some data' });
```

---

## 🔧 Configuration

### Environment Variables

- `LOG_ENABLED`: Enable or disable logging (default: true)
- `LOG_TO_FILE`: Log to file (default: false)
- `LOG_FILE_PATH`: Path to the log file (default: 'logs/app.log')
- `LOG_TIMESTAMP_ENABLED`: Enable or disable timestamps (default: true)

### Logger options

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| context | string | 'App' | Context identifier for the logs |
| enabled | boolean | true | Enable/disable logging |
| logToFile | boolean | false | Enable file logging |
| logFilePath | string | 'logs/app.log' | Path for log file |
| enableTimestamp | boolean | true | Add timestamps to logs |


### 📝 Output format exemple

```
[2024-01-01 12:00:00] [INFO] [App] Hello, world!
```

---

Your logger is now ready! 🎉

## 🤝 Support

For any questions or issues:
- Open an issue on GitHub
- Email: contact@logandelmairedev.com
- Website: [logandelmairedev.com](https://logandelmairedev.com)

## 📄 License

MIT © Logan DELMAIRE
npm package: @logangroup/game-player
Description: Game interactive video player
Author: Gaston Longhitano
Latest version: 7.0.3

## Interactive video player

# @logangroup/game-player
> Video player navigator for interactive videos

[![NPM](https://img.shields.io/npm/v/@logangroup/game-player.svg)](https://www.npmjs.com/package/@logangroup/game-player) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @logangroup/game-player
```

```bash
yarn add @logangroup/game-player
```

## Usage (Development)
```bash
# Start simulated api server for development
yarn server
```

```bash
# Start development mode
yarn start
```

## Publish
```bash
npm login --scope=@logangroup --registry=https://registry.npmjs.com/

yarn publish
```

## Additional documentation

[Recoil Reference](https://github.com/facebookexperimental/Recoil/blob/master/README.md)

[Standard events Reference](https://developer.mozilla.org/en-US/docs/Web/Events#Standard_events)


## License

MIT © logangroup

Gaston Longhitano <gaston@logangroupservices.com>
npm package: @loganmac/tailwindcss-icons
Description: Icons utility for TailwindCSS
Latest version: 0.0.1

**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**

---

# @egoist/tailwindcss-icons

> Use any icon from [Iconify](https://iconify.design/)

[![npm version](https://badgen.net/npm/v/@egoist/tailwindcss-icons)](https://npm.im/@egoist/tailwindcss-icons) [![npm downloads](https://badgen.net/npm/dm/@egoist/tailwindcss-icons)](https://npm.im/@egoist/tailwindcss-icons)

<img src="https://user-images.githubusercontent.com/8784712/219618866-e5632d23-b948-4fa1-b3d6-00581a704bca.png" alt="preview" width="700" />

## Install

```bash
npm i @egoist/tailwindcss-icons
```

## Usage

In your `tailwind.config.js`:

```js
const { iconsPlugin, getIconCollections } = require("@egoist/tailwindcss-icons")

module.exports = {
  plugins: [
    iconsPlugin({
      // Select the icon collections you want to use
      collections: getIconCollections(["mdi", "lucide"], __dirname),
    }),
  ],
}
```

You also need to install `@iconify/json` (full icon collections, 50MB) or `@iconify-json/{collection_name}` (individual icon package)

Then you can use the icons in your HTML:

```html
<!-- pattern: i-{collection_name}-{icon_name} -->
<span class="i-mdi-home"></span>
```

Search the icon you want to use here: https://icones.js.org

## Sponsors

[![sponsors](https://sponsors-images.egoist.dev/sponsors.svg)](https://github.com/sponsors/egoist)

## License

MIT &copy; [EGOIST](https://github.com/sponsors/egoist)