open-index/open-npm huggingface dataset:
npm package: @kevtucker/react-audio-player-bar
Description: An Audio player for React
Author: Kevin Tucker
Latest version: 0.0.2

[![npm version](https://badge.fury.io/js/@kevtucker%2Freact-audio-player-bar.svg)](https://badge.fury.io/js/@kevtucker%2Freact-audio-player-bar)
[![GitHub version](https://badge.fury.io/gh/Tucker2015%2Freact-audio-player-bar.svg)](https://badge.fury.io/gh/Tucker2015%2Freact-audio-player-bar)
![npm](https://img.shields.io/npm/dw/@kevtucker/react-audio-player-bar)

# React Audio Player

Simple React Audio Player with Artwork option. The Player bar can be positioned at the top or bottom of the screen.
Works with React 16.8.0 and above, also works with Next.js.

## Installation with NPM

```bash
npm install @kevtucker/react-audio-player-bar --save
```

## Installation with Yarn

```bash
yarn add @kevtucker/react-audio-player-bar
```

## Storybook

I have created a Storybook to show the different options available. You can view it here:

https://docs.ktinternet.net/react-audio-player-bar

## Usage

```javascript
import { Player } from "@kevtucker/react-audio-player-bar";

function App() {
  return (
    <div className="App">
      <Player
        source="https://streams.ktinternet.net:8010/d"
        title="Peoples City Radio"
        artist="Live"
        artwork="https://picsum.photos/200"
      />
    </div>
  );
}
```

## Props

| Prop     | Type   | Default  | Description                |
| -------- | ------ | -------- | -------------------------- |
| source   | string | ""       | The audio source           |
| title    | string | ""       | The title of the audio     |
| artist   | string | ""       | The artist of the audio    |
| artwork  | string | ""       | The artwork of the audio   |
| position | string | "bottom" | The position of the player |

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @kevtucker/react-native-logger
Description: A logging library for Expo / iOS
Author: Tucker2015
Latest version: 0.2.1

# react-native-logger

A simple logging library for React Native (Expo & iOS/Android) with support for remote logging and global usage.

## Installation

```sh
npm install @kevtucker/react-native-logger
# or
yarn add @kevtucker/react-native-logger
```

## Usage

### 1. Import the library once in your app (for side effects)

At the top of your main entry file (e.g. `App.tsx` or `index.js`):

```js
import 'react-native-logger';
```

This attaches the logger functions to `globalThis`, so you can use them anywhere in your app **without importing**.

### 2. (TypeScript) Add global types

Create a `global.d.ts` file in your project root or `src/` folder:

```ts
declare function logError(...args: any[]): void;
declare function logWarning(...args: any[]): void;
declare function logInfo(...args: any[]): void;
declare function setDefaultAppName(appName: string): void;
```

### 3. Set your app name (optional, but recommended)

Call this once at the start of your app:

```js
setDefaultAppName('MyAwesomeApp');
```

### 4. Log anywhere in your app

```js
logInfo('App started');
logWarning('This is a warning', { some: 'context' });
logError('Something went wrong', { serverUrl: 'https://your-server.com/log' });
logInfo('App initialized successfully', true);
logError('User object:', { id: 123, name: 'Alice' });
```

---

## API

- `logInfo(...args: any[])`
- `logWarning(...args: any[])`
- `logError(...args: any[])`
- `setDefaultAppName(appName: string)`

All log functions accept any number of arguments (like `console.log`). If the last argument is an object with `serverUrl` or `appName`, it will be used as config. All other arguments are stringified and joined for the log message. All logs are sent to the default server unless you override with the `config` parameter.

---

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @kevtucker/rn-components
Description: A collection of React Native and Expo UI Components
Author: Tucker2015
Latest version: 0.10.1

# rn-components

A collection of React Native and Expo UI Components including :
- **Card**: A simple card component with a title and description.
- **Button**: A simple button component with a title and onPress handler.
- **Text**: A simple text component with a title.
- **Layout**: A simple layout component with a Image Background prop and a children prop.

## Installation

```sh
npm install rn-components react-native-safe-area-context

# or

yarn add rn-components react-native-safe-area-context
```

> **Note:** You must also install `react-native-safe-area-context` in your project, as it is a peer dependency.

## Usage


```js
import { Card } from 'rn-components';

// ...

  <Card
    width={`95%`}
    description="This is a description"
    title="Card Title"
  />
```


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @kewacode/guard
Description: Distributed Rate Limiter for NestJS using Redis
Author: João Bertan
Latest version: 1.0.5

# 🛡️ Kewa Guard

> **Distributed Rate Limiter for NestJS using Redis & Sliding Window Algorithm.**

[![NPM Version](https://img.shields.io/npm/v/@kewacode/guard.svg)](https://www.npmjs.com/package/@kewacode/guard)
[![License](https://img.shields.io/npm/l/@kewacode/guard.svg)](LICENSE)
[![NestJS](https://img.shields.io/badge/NestJS-10.x-red.svg)](https://nestjs.com/)

**Kewa Guard** é uma biblioteca leve e performática para proteção de rotas em aplicações **NestJS**. Diferente de limitadores simples em memória, ele utiliza **Redis** com scripts **Lua** atômicos para garantir precisão absoluta em ambientes distribuídos (cluster/microservices).

## 🚀 Features

- 🕷 **Distributed:** Funciona perfeitamente com múltiplas instâncias da API.
- ⚡ **Atomic:** Usa Lua Scripts para evitar _Race Conditions_.
- ⛶ **Sliding Window Log:** Algoritmo preciso (não reseta todos os limites no minuto cheio).
- 🔌 **Plug & Play:** Configuração simples via Módulo Dinâmico.
- 🛑 **Smart Headers:** Retorna headers padrão (`X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`).

---

## 📦 Instalação

```bash
npm install @kewacode/guard ioredis
# ou
pnpm add @kewacode/guard ioredis
# ou
yarn add @kewacode/guard ioredis
```

## ⚙️ Configuração

No seu `AppModule` (ou no módulo onde deseja usar o Rate Limiter), importe o `KewaGuardModule`.

```typescript
import { Module } from '@nestjs/common';
import { KewaGuardModule } from '@kewacode/guard';

@Module({
  imports: [
    // Configure a conexão com o Redis aqui
    KewaGuardModule.register({
      host: process.env.REDIS_HOST || 'localhost',
      port: Number(process.env.REDIS_PORT) || 6379,
      // password: '...', // Opcional
    }),
  ],
})
export class AppModule {}
```

## 🛡️ Como Usar

Para proteger uma rota, utilize o guard `KewaRateLimitGuard` e o decorator `@KewaRateLimit`.

```typescript
import { Controller, Get, UseGuards } from '@nestjs/common';
import { KewaRateLimit, KewaRateLimitGuard } from '@kewacode/guard';

@Controller('cats')
export class CatsController {
  @Get()
  @UseGuards(KewaRateLimitGuard) // 1. Ativa a proteção
  @KewaRateLimit({ limit: 10, ttl: 60 }) // 2. Regra: Max 10 requests em 60 segundos
  findAll() {
    return 'This action returns all cats';
  }
}
```

## 📡 Headers de Resposta

O Kewa Guard injeta headers automáticos para informar o cliente sobre o consumo da API:

| Header                  | Descrição                                          |
| :---------------------- | :------------------------------------------------- |
| `X-RateLimit-Limit`     | O limite total permitido na janela atual.          |
| `X-RateLimit-Remaining` | Quantas requisições ainda restam.                  |
| `X-RateLimit-Reset`     | Timestamp (Unix) de quando o limite será resetado. |
npm package: @kewaiigamer/cs2-lib
Description: A TypeScript library for manipulating Counter-Strike 2 data
Author: Kewaii
Latest version: 5.8.1-kewaii-2

# cs2-lib

> A TypeScript library for manipulating Counter-Strike 2 data

This library contains items and data from Counter-Strike 2, including utility functions and classes for interacting with them using TypeScript.

## Install

```sh
npm install @ianlucas/cs2-lib
```

## Usage

```typescript
import { CS2Economy, CS2_ITEMS } from "@ianlucas/cs2-lib";
import english from "@ianlucas/cslib/assets/localizations/items-english.json";

CS2Economy.use({
    items: CS2_ITEMS,
    language: english
});

const item = CS2Economy.getById(307);

item.name;
//=> "AWP | Dragon Lore"
```
npm package: @kewaiigamer/cs2-lib-inspect
Description: An extension for cs2-lib to create Counter-Strike 2 inspect links
Latest version: 3.0.0-kewaii-2

# cs2-lib-inspect

> An extension for cs2-lib to create Counter-Strike 2 inspect links

## Install

```bash
npm install @ianlucas/cs2-lib-inspect
```

## Usage

```typescript
import { CS2Economy } from "@ianlucas/cs2-lib";
import { generateInspectLink } from "@ianlucas/cs2-lib-inspect";

const link = generateInspectLink(CS2Economy.getById(307));
```