open-index/open-npm huggingface dataset:
npm package: @pskzcompany/winston-graylog
Description: A graylog GELF UDP transport for Winston
Latest version: 1.0.1

# @pskzcompany/winston-graylog

[![npm](https://img.shields.io/npm/v/@pskzcompany/winston-graylog.svg)](https://www.npmjs.com/package/@pskzcompany/winston-graylog)
[![gitlab action](https://github.com/pskzcompany/winston-graylog/workflows/test%20&%20build/badge.svg)](https://github.com/pskzcompany/winston-graylog/actions)
[![Fully automated version management and package publishing](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

A graylog GELF UDP transport for Winston 3
A [Graylog](https://www.graylog.org/) GELF UDP transport for [winston](https://github.com/winstonjs/winston) based on the [@pskzcompany/winston-graylog](https://github.com/pskzcompany/graylog) package.

## Installation

```bash
npm install winston @pskzcompany/winston-graylog
```

## Usage

```ts
import winston from 'winston';
import { WinstonGraylog } from '@pskzcompany/winston-graylog';

const logger = winston.createLogger({
  exitOnError: false,
  transports: [
    new WinstonGraylog({
      level: 'debug',
      graylog: 'gelf://10.0.0.1:12201',
      defaultMeta: {
        environment: 'production',
        release: '1.0.1',
      },
    }),
  ],
});

logger.info({ message: 'info message', facility: 'Node.js' });
// or
logger.info('info message', { facility: 'Node.js' });

logger.error({ message: new Error('Some error'), duration: 26 });
// or
logger.error(new Error('Some error'), { duration: 26 });
```

## Options

- **name**: Transport name
- **level**: Level of messages this transport should log. (default: info)
- **silent**: Boolean flag indicating whether to suppress output. (default: false)
- **handleExceptions**: Boolean flag, whenever to handle uncaught exceptions. (default: false)
- **exceptionsLevel**: Level of exceptions logs when handleExceptions is true. (default: error)
- **graylog**:
  - `gelf://10.0.0.1:12201,10.0.0.2:12201?hostname=host&facility=Node.js&bufferSize=1400&deflate=optimal` – as connection string
  - **- OR -**
  - **servers**: list of graylog2 servers
    - **host**: your server address (default: localhost)
    - **port**: your server port (default: 12201)
  - **hostname**: the name of this host (default: os.hostname())
  - **facility**: the facility for these log messages (default: "Node.js")
  - **bufferSize**: max UDP packet size, should never exceed the MTU of your system (default: 1400)
- **defaultMeta**: meta data to be always used by default for each logging message.

## Lisence

MIT
npm package: @pslib/create-ts-console
Description: Scaffolder pro TS konzolovou app podle @pslib/console-app
Latest version: 0.1.5

# @pslib/create-ts-console

Scaffolder pro založení TypeScript konzolové aplikace. Vytvoří projekt podle šablony @pslib/console-app (obsahuje TypeScript, ts-node, Vitest, Prettier a připravené ladění ve VS Code).

## Požadavky

Node.js ≥ 20 (obsahuje i npm)

Ověření: 
````
node -v
npm -v
````

## Rychlý start

Vytvoření nového projektu moje-app:

````
npm create @pslib/ts-console@latest moje-app
cd moje-app
npm install
npm run dev
````

## Automatická instalace závislostí (volitelné)
````
npm create @pslib/ts-console@latest -- moje-app --install
````

## Alternativní spuštění
````
npx create-ts-console moje-app
npx create-ts-console moje-app --install
````
````
npx -p @pslib/create-ts-console create-ts-console moje-app
npx -p @pslib/create-ts-console create-ts-console moje-app --install
````
npm package: @psm14/semantic-release-path-filter
Description: Wraps a semantic-release plugin to only run on commits in a specific path
Author: Patrick McLaughlin
Latest version: 1.1.4

# semantic-release-path-filter

A plugin for semantic-release that filters commits based on file paths before passing them to other semantic-release plugins.

## Installation

```bash
npm install --save-dev @psm14/semantic-release-path-filter
```

## Usage

This plugin wraps around other semantic-release plugins and filters the commits they receive based on file paths.

```json
{
  "plugins": [
    [
      "@psm14/semantic-release-path-filter",
      {
        "path": "plugin",
        "plugin": "@semantic-release/commit-analyzer"
      }
    ],
    [
      "@psm14/semantic-release-path-filter",
      {
        "path": "plugin",
        "plugin": "@semantic-release/release-notes-generator"
      }
    ],
    [
      "@psm14/semantic-release-path-filter",
      {
        "path": "plugin",
        "plugin": "@semantic-release/git"
      }
    ],
    [
      "@psm14/semantic-release-path-filter",
      {
        "path": "plugin",
        "plugin": "@semantic-release/github"
      }
    ]
  ]
}
```

The `plugin` option may be a string or an array consisting of the name and a configuration object.
npm package: @psmsun/video-utils
Description: YouTube and VK video ID extraction utilities
Latest version: 1.0.2

# @psmsun/video-utils

Lightweight, zero-dependency utilities for extracting YouTube and VK video IDs from any URL format.

## Installation

```bash
npm install @psmsun/video-utils
```

---

## `extractYoutubeID(input)`

Extracts an 11-character YouTube video ID from any URL format, or returns a bare ID as-is.

```js
import { extractYoutubeID } from "@psmsun/video-utils";

extractYoutubeID("dQw4w9WgXcQ");
// → "dQw4w9WgXcQ"

extractYoutubeID("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
// → "dQw4w9WgXcQ"

extractYoutubeID("https://youtu.be/dQw4w9WgXcQ");
// → "dQw4w9WgXcQ"

extractYoutubeID("https://youtube.com/shorts/dQw4w9WgXcQ");
// → "dQw4w9WgXcQ"

extractYoutubeID("https://www.youtube.com/live/dQw4w9WgXcQ");
// → "dQw4w9WgXcQ"

extractYoutubeID(null);
// → null
```

**Supported formats:**
- Bare ID (`dQw4w9WgXcQ`)
- `youtube.com/watch?v=ID`
- `youtu.be/ID`
- `youtube.com/embed/ID`
- `youtube.com/shorts/ID`
- `youtube.com/live/ID`

---

## `extractVKIDs(input)`

Extracts VK video `oid` and `id` from any VK video URL format or raw ID string.

Returns `{ oid: string, id: string }` or `null`.

```js
import { extractVKIDs } from "@psmsun/video-utils";

extractVKIDs("-178652725_456239064");
// → { oid: "-178652725", id: "456239064" }

extractVKIDs("https://vk.com/video-144893972_456246327");
// → { oid: "-144893972", id: "456246327" }

extractVKIDs("https://vk.com/video_ext.php?oid=-178652725&id=456239064&hash=abc");
// → { oid: "-178652725", id: "456239064" }

extractVKIDs("https://vk.com/clip-12345678_456239123");
// → { oid: "-12345678", id: "456239123" }

extractVKIDs(null);
// → null
```

**Supported formats:**
- Raw `oid_id` or `-oid_id`
- `vk.com/video_ext.php?oid=...&id=...`
- `vk.com/video{oid}_{id}`
- `vk.com/clip{oid}_{id}`
- Query string fragment `oid=...&id=...`

---

## Updating your projects

Replace the local import wherever you have it:

```diff
- import { extractVKIDs, extractYoutubeID } from "@/lib/videoIdUtils";
+ import { extractVKIDs, extractYoutubeID } from "@psmsun/video-utils";
```

---

## License

MIT
npm package: @psmtec/iso4217
Description: ISO 4217 utilities
Author: david.klein@psmtec.de
Latest version: 0.2.1

# haxe-iso4217

- ISO 4217:2015 data as of 2017-06-09
- all data is available at: https://www.currency-iso.org

# haxe usage
```haxe
import iso4217.CurrencyCode;
import iso4217.Currencies;
import iso4217.UnitConverter;

trace(EUR.minorToMajor(1234));
trace(Currencies.fromCode('EUR').minorToMajor(1234));
```

# js setup
```bash
npm install @psmtec/iso4217
```

# js usage
```js
import { Currencies } from '@psmtec/iso4217';

console.log(Currencies.fromString('EUR').minorToMajor(123456));
console.log(Currencies.fromNumber(978).minorToMajor(123456));
console.log(Currencies.all());
```
npm package: @psnivo/colors
Description: <a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>
Author: Raphael Benitte
Latest version: 0.78.2

<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/colors`

[![version](https://img.shields.io/npm/v/@nivo/colors?style=for-the-badge)](https://www.npmjs.com/package/@nivo/colors)
[![downloads](https://img.shields.io/npm/dm/@nivo/colors?style=for-the-badge)](https://www.npmjs.com/package/@nivo/colors)
npm package: @psnivo/core
Description: <a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>
Author: Raphael Benitte
Latest version: 0.78.2

<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/core`

[![version](https://img.shields.io/npm/v/@nivo/core?style=for-the-badge)](https://www.npmjs.com/package/@nivo/core)
[![downloads](https://img.shields.io/npm/dm/@nivo/core?style=for-the-badge)](https://www.npmjs.com/package/@nivo/core)
npm package: @psnivo/legends
Description: legend components for nivo dataviz library
Author: Raphael Benitte
Latest version: 0.78.2

<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/legends`

[![version](https://img.shields.io/npm/v/@nivo/legends?style=for-the-badge)](https://www.npmjs.com/package/@nivo/legends)
[![downloads](https://img.shields.io/npm/dm/@nivo/legends?style=for-the-badge)](https://www.npmjs.com/package/@nivo/legends)
npm package: @psnivo/radar
Description: <a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>
Author: Raphael Benitte
Latest version: 0.78.2

<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/radar`

[![version](https://img.shields.io/npm/v/@nivo/radar?style=for-the-badge)](https://www.npmjs.com/package/@nivo/radar)
[![downloads](https://img.shields.io/npm/dm/@nivo/radar?style=for-the-badge)](https://www.npmjs.com/package/@nivo/radar)

## Radar

[documentation](http://nivo.rocks/radar/)

![Radar](https://raw.githubusercontent.com/plouc/nivo/master/website/src/assets/captures/radar.png)
npm package: @psnivo/recompose
Description: [![version](https://img.shields.io/npm/v/@nivo/recompose.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/recompose)
Author: Raphael Benitte
Latest version: 0.78.2

# `@nivo/recompose`

[![version](https://img.shields.io/npm/v/@nivo/recompose.svg?style=flat-square)](https://www.npmjs.com/package/@nivo/recompose)

## Recompose

![Recompose](https://raw.githubusercontent.com/plouc/nivo/master/packages/recompose/doc/recompose.png)
npm package: @psnivo/tooltip
Description: <a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>
Author: Raphael Benitte
Latest version: 0.78.2

<a href="https://nivo.rocks"><img alt="nivo" src="https://raw.githubusercontent.com/plouc/nivo/master/nivo.png" width="216" height="68"/></a>

# `@nivo/tooltip`

[![version](https://img.shields.io/npm/v/@nivo/tooltip?style=for-the-badge)](https://www.npmjs.com/package/@nivo/tooltip)
[![downloads](https://img.shields.io/npm/dm/@nivo/tooltip?style=for-the-badge)](https://www.npmjs.com/package/@nivo/tooltip)