open-index/open-npm huggingface dataset:
npm package: @mediporta/gatsby-plugin-nginx-redirect
Description: Adds your redirects to nginx conf on gatsby build
Author: Floris Groenendijk
Latest version: 0.0.14-preview.9

## Description

This plugin creates a nginx conf file with the gatsby created redirects

### Dependencies

Gatsby version 4

In order to work you have to use the output .conf file in your nginx server

## How to install

`npm install --save @mediporta/gatsby-plugin-nginx-redirect`

## Available options

### inputConfigFile (required)

The path for input nginx configuration file

### outputConfigFile (required)

The path of the outputted nginx configuration file with the redirects within.

### whereToIncludeRedirects (optional)(defaults to: "server")

Dot notation to define where to include the redirects.
So "server" will search for the server header, "http.server" will search for http containing server.

## Examples of usage

### In gatsby-config.js

```javascript
plugins: [
  ...,
  {
    resolve: "@mediporta/gatsby-plugin-nginx-redirect",
    options: {
      inputConfigFile: `${__dirname}/nginx.conf`,
      outputConfigFile: `${__dirname}/nginx.out.conf`,
      whereToIncludeRedirects: "http.server" // defaults to: "server"
    },
  },
  ...
]
```

Now you can use gatsby\`s `createRedirect` action to generate your custom http redirects

## How to contribute

Feel free to open an issue with your doubt, bug or suggestion.
npm package: @mediporta/gatsby-remark-figure-caption
Description: transform markdown image to figure with caption element
Author: Leonardo Dino
Latest version: 3.0.0

# gatsby-remark-figure-caption

[![Package Version](https://img.shields.io/npm/v/gatsby-remark-figure-caption.svg)](https://www.npmjs.com/package/gatsby-remark-figure-caption)
[![Build Status](https://travis-ci.com/leonardodino/gatsby-remark-figure-caption.svg?branch=master)](https://travis-ci.com/leonardodino/gatsby-remark-figure-caption)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/leonardodino/gatsby-remark-figure-caption/blob/master/LICENSE)

transforms: `![image with description](path-to-image.jpg)` into:

```html
<figure>
  <img src="path-to-image.jpg" />
  <figcaption>image with description</figcaption>
</figure>
```

<!-- [TODO]: motivation -->

## Install

`npm install --save gatsby-remark-figure-caption`

## How to use

```javascript
// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [
        {
          resolve: `gatsby-remark-figure-caption`,
          options: { figureClassName: "md-figure" },
        },
      ],
    },
  },
];
```

## Options

| Name               | Default | Description                                |
| ------------------ | ------- | ------------------------------------------ |
| `figureClassName`  | `''`    | class for the wrapper `figure` element     |
| `imageClassName`   | `''`    | class for the wrapped `img` element        |
| `captionClassName` | `''`    | class for the wrapped `figcaption` element |

## Disclaimers

**only tested with `gatsby v2`**, it may work on `v1`.

**not really a _good_ thing `a11y`-wise:**

- images should have a descriptive `alt`, that can replace it.
- created for working around cripled `markdown` tools.
- [there are better ways to describe an image.](https://github.github.com/gfm/#image-description)

**`PRs` welcome.**
npm package: @mediporta/react-mui-cookie-dialog
Description: A simple solution for a GDPR compliant Cookie dialog with support for multiple Cookie categories.
Author: Nicolas Schlecker
Latest version: 2.0.0

# React Material Ui Cookie Dialog

[![Version](https://img.shields.io/npm/v/react-mui-cookie-dialog.svg)](https://www.npmjs.com/package/react-mui-cookie-dialog)
[![Downloads](https://img.shields.io/npm/dt/react-mui-cookie-dialog.svg)](https://www.npmjs.com/package/react-mui-cookie-dialog)

A simple solution for a GDPR compliant Cookie dialog.

## Example

```tsx
import { Typography } from '@material-ui/core';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import {
  CookieDialog,
  CookieDialogCategory,
  cookieDialogStringDefaultsGerman,
} from 'react-mui-cookie-dialog';

const categories: CookieDialogCategory[] = [
  {
    key: 'necessary',
    title: 'Necessary Cookies',
    description: 'Necessary Cookie description.',
    isNecessary: true,
  },
  {
    key: 'analytics',
    title: 'Analytics & Personalization',
    description: 'Analytics Cookie description.',
  },
  {
    key: 'marketing',
    title: 'Marketing',
    description: 'Marketing Cookie description.',
  },
];

const App = () => {
  const [cookieDialogVisible, setCookieDialogVisible] = React.useState(true);

  const handleAccept = (acceptedCategories: CookieDialogCategory[]) => {
    // Do something with the accepted categories
    setCookieDialogVisible(false);
  };

  return (
    <div>
      <CookieDialog
        visible={cookieDialogVisible}
        categories={categories}
        onAccept={handleAccept}
        // You can use the german pre defined strings but for every
        // other language you will have to define the strings yourself.
        {...cookieDialogStringDefaultsGerman}
        // Every string can be replaced with a function component like this
        mainDialogTitle={() => <Typography>Example title</Typography>}
      />
    </div>
  );
};

ReactDOM.render(<App />, document.getElementById('root'));
```
npm package: @medishn/toolkit
Description: a toolkit
Author: Mahdi
Latest version: 1.0.4

# @medishn/toolkit

[![npm version](https://img.shields.io/npm/v/@medishn/toolkit?color=blue)](https://www.npmjs.com/package/@medishn/toolkit)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./docs/CONTRIBUTING.md)

## Features

### **Core Utilities**

- **Object Inspection** - Safely navigate nested structures with `inspect()`
- **Deep Merging** - Type-safe object merging with `merge()`
- **Data Transformation** - Chainable `map()`, `filter()`, `reduce()` operations

### **Type Safety**

- **40+ Type Guards** - Runtime validation with `isString`, `isObject`, `isPromise`, etc.
- **Advanced Types** - `Maybe<T>`, `Dictionary<T>`, `Nullable<T>`, and other essential helpers
- **HTTP Status Codes** - Full `HttpStatus` enum with RFC-compliant values

### **Logging**

- Colorful console output 🌈
- Context-aware logging
- Multiple log levels (`error`, `warn`, `info`, `debug`, `verbose`)

### **Error Handling**

- Standardized HTTP exceptions
- RFC 7807 Problem Details format
- Custom error creation utilities

---

## Installation 📦

```bash
npm install @medishn/toolkit
# or
yarn add @medishn/toolkit
```

---

## Quick Start 🚀

```typescript
import { inspect, Logger, HttpStatus } from '@medishn/toolkit';

// Object Inspection
const userData = inspect(rawData).to('profile').get('email');

// Logging
const logger = new Logger({ context: 'Auth' });
logger.info('User logged in', { userId: 123 });

// Error Handling
throw new NotFoundException({
  detail: 'Resource not found',
  status: HttpStatus.NOT_FOUND,
});

// Type Safety
if (isDate(someValue)) {
  console.log('Timestamp:', someValue.toISOString());
}
```

---

## Documentation 📚

Explore our comprehensive guides:

- [Object Inspection & Manipulation](./docs/api/inspect.doc.md)
- [Logging Best Practices](./docs/api/logger.doc.md)
- [Error Handling Guide](./docs/api/error.doc.md)
- [Http Exception Handling Guide](./docs/api/http-exception.doc.md)
- [Merge Object And Arrau Guide](./docs/api/merge.doc.md)
- [Type Guard Utilities Guide](./docs/api/type-guard.doc.md)
- [Type Utilities Reference](./docs/api/utils.doc.md)
- [Full API Documentation](./docs/api)

---

## Contributing 🤝

We welcome contributions! Please see our:

- [Contribution Guide](./docs/CONTRIBUTING.md)
- [Code of Conduct](./docs/CODE_OF_CONDUCT.md)

---

## Support & Feedback 💬

Found a bug? Have a feature request?  
[Open an Issue](https://github.com/medishen/toolkit/issues)  
Get quick help: [bitsgenix@gmail.com](mailto:bitsgenix@gmail.com)

⭐ **Love this package?** Leave a star on GitHub to show your support!
npm package: @medishn/trk
Description: Minimal CLI time tracker — event-driven, local-first
Author: m-mdy-m
Latest version: 0.1.0

<div align="center">

# TRK

**Minimal CLI time tracker — event-driven, zero cloud.**

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
[![Node >=20](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org)
[![Powered by @glandjs/events](https://img.shields.io/badge/powered%20by-%40glandjs%2Fevents-purple)](https://github.com/glandjs/events)

</div>

TRK is a command-line time tracker built for engineers who want to own their time data.

The application is wired together by an event-driven architecture using [`@glandjs/events`](https://github.com/glandjs/events). Every CLI command publishes an event; every service is a pure subscriber. No framework, no DI container — just a clean message bus.

## Install

```bash
npm install -g @medishn/trk
```

Or with pnpm:

```bash
pnpm add -g @medishn/trk
```

Run without installing:

```bash
npx @medishn/trk --help
```

### Requirements

- Node.js >= 20
- macOS, Linux, or Windows (WSL recommended)

## Quick start

```bash
trk start "Working on feature X"
trk stop
trk report daily
```

Full command reference: [docs/USAGE.md](./docs/USAGE.md)

## Configuration

TRK merges two YAML files at runtime:

1. `config/default.yml` — shipped defaults, do not edit
2. `~/.trk/config.yaml` — your personal overrides

```yaml
# ~/.trk/config.yaml
work:
  daily_hours: 9
  pomodoro_minutes: 90

display:
  week_starts_on: "monday"
```

Changes take effect on the next command run.

## Development

```bash
git clone https://github.com/m-mdy-m/trk
cd trk
pnpm install
pnpm dev start "test label"
```

See [docs/DEVELOPMENT.md](./docs/DEVELOPMENT.md) for architecture, how to add features, and the full development workflow.

## Contributing

See [docs/CONTRIBUTING.md](./docs/CONTRIBUTING.md). Issues and PRs are welcome.

Commits must follow the [Conventional Commits](https://www.conventionalcommits.org/) format.

## License

MIT — see [LICENSE](./LICENSE).

<div align="center">

**Powered by**

[![@glandjs/events](https://img.shields.io/badge/%40glandjs%2Fevents-event--driven%20core-purple?style=flat-square)](https://github.com/glandjs/events)
&nbsp;&nbsp;
[![PSX](https://img.shields.io/badge/PSX-project%20structure%20checker-orange?style=flat-square)](https://github.com/m-mdy-m/psx)

</div>