open-index/open-npm huggingface dataset:
npm package: @niumyz/react-rss-podcast-player
Description: This is a react component that provides a podcast player based on an RSS feed you provide it.
Author: Richard Deane
Latest version: 2.0.6

# React RSS Podcast Player

Snappy name, huh? The React RSS Podcast Player is a React component that, when provided with a valid RSS link, will create a fully functional HTML5 based Podcast player to utilize in your projects.


# Usage

###First, install...

	npm install react-rss-podcast-player --save
	# or
	yarn add react-rss-podcast-player  


<!-- -->

### Then...

	import React, { Component } from 'react';
	import PodcastPlayer from 'react-rss-podcast-player';

	class App extends Component {
  		render () {
	    	return <PodcastPlayer url={'https://rss.acast.com/eggchasers'} />
  		}
	}


# Demo

Here is a screenshot of the RSS Podcast Player in action with a demo podcast loaded.

[Link to screenshot](https://s3.amazonaws.com/motoportfoliobucket/github/rss_podcast_player_screenshot.jpg)



Extended Demo Page: [https://podcastle.herokuapp.com/](https://podcastle.herokuapp.com/)

This site includes the RSS Podcast Player being used in more of a 'production' environment, and provides inspiration for a potential application of the player. Please note: the search and library functions are just provided for demo purposes and not included in this source code.



# Props


| Prop          | Description     | Default |
|-------------- |-----------------| --------------|
| `url`		      | The RSS feed of a podcast. Pass it any valid .rss feed to start playing.       |          |
| `maxWidth`     | Set the `max-width` of the player.       |      `600px`     |
| `feedMaxHeight`  | Set the `max-height` of the items list.       | `600px` |
| `playerColor`	      | Sets the player section `background-color`     | `#f6f6f6` |
| `feedColor`    | Sets the feed list `backgroundcolor`     | `#f6f6f6` |
| `playerControlsColor` | Sets the player controls `background-color`   | `#e6e6e6` |
| `playerTextColor`    | Sets the text `color` of the player & controls.   |     `#404040`     |
| `feedTextColor`    | Sets the text `color` of the feed items.   |   `#404040`     |


# Contributions

If you would like to contribute to this open source project, please feel free to submit a PR.

There is also a very basic test suite included for convenience, feel free to add your own tests for posterity, and run existing tests before submitting.


# Code Of Conduct

For a more detailed look at our code of conduct, check it out [here](https://github.com/titchimoto/react-rss-podcast-component/blob/master/CODE_OF_CONDUCT.md)
npm package: @niux/cli
Description: ```shell npm i @niux/cli
Author: liqingwen
Latest version: 1.0.9

# 介绍

## 安装

```shell
npm i @niux/cli

cnpm i @niux/cli

npx @niux/cli n
```

## 命令

```

```

![](.\images\Snipaste_2023-03-24_07-53-46.png)
npm package: @niux/utils
Description: 工具库函数集锦，源码位于 src 目录下。
Author: liqingwen
Latest version: 1.0.3

## utils

工具库函数集锦，源码位于 src 目录下。

[包地址：@niux/utils - npm (npmjs.com)](https://www.npmjs.com/package/@niux/utils)

### 使用者指南

通过 npm 下载安装代码

```bash
$ npm install --save @niux/utils
```

如果你是 node 环境

```js

```

如果你是 webpack 等环境

```js

```

如果你是浏览器环境

```html

```

### 贡献者指南

首次运行需要先安装依赖

```bash
$ npm install
```

一键打包生成生产代码

```bash
$ npm run build
```

运行单元测试:

```bash
$ npm test
```
npm package: @nivalis/biome-config
Description: Configuration for biome
Latest version: 2.4.11

# @nivalis/biome-config

Shared [Biome](https://biomejs.dev/) formatter, linter, and assist configuration used across the Nivalis projects. It encodes the conventions from `AGENTS.md` so every repo can stay in sync with a single dependency.

## Features

- Enforces consistent formatting rules for TS/JS, CSS, JSON, HTML, Markdown, and frameworks including React/Next.
- Ships with strict accessibility, correctness, performance, and security lint rules tuned for modern stacks.
- Provides sensible project-wide ignore patterns for build artifacts, coverage directories, and generated files.
- Includes overrides for scripts, tests, stories, and declaration files so the right amount of linting is applied per context.

## Installation

```sh
pnpm add -D @nivalis/biome-config
# or
npm install -D @nivalis/biome-config
yarn add -D @nivalis/biome-config
```

## Usage

Create a `biome.json` (or `biome.jsonc`) in your project root and extend this package:

```jsonc
{
  "$schema": "https://biomejs.dev/schemas/2.3.7/schema.json",
  "extends": ["@nivalis/biome-config/biome.json"],
}
```

From there you can override any section locally, for example to loosen a rule for tests:

```jsonc
{
  "overrides": [
    {
      "includes": ["**/*.test.ts"],
      "linter": {
        "rules": {
          "correctness": { "noUnusedVariables": "off" },
        },
      },
    },
  ],
}
```

Add a lint script that surfaces violations quickly:

```json
{
  "scripts": {
    "lint": "biome check",
    "lint:fix": "biome check --write"
  }
}
```

Running `pnpm lint` fails on style or lint errors, while `pnpm lint:fix` auto-formats in place. The config also enables Biome Assist actions (auto import sorting, key sorting, etc.) inside supported editors.

## Repository Scripts

- `pnpm lint` – run Biome in check mode.
- `pnpm lint:fix` – run Biome with `--write` to apply safe fixes.
- `pnpm insights:normalize` – normalize `--reporter=json` output into a stable artifact.
- `pnpm insights:summary` – aggregate normalized artifacts into markdown insights.
- `pnpm prepare` – installs Lefthook so Git hooks can run Biome before you commit.

## Cross-Repo Biome Insights

This repository includes an artifact-first reusable GitHub workflow:

- `.github/workflows/biome-insights-artifact.yaml`

See `docs/biome-insights-artifact-first.md` for rollout details and artifact schema.

## Publishing

This package is published to npm as `@nivalis/biome-config` with public access. To cut a new release:

1. Update the version in `package.json` following semver.
2. Run `pnpm install` and `pnpm lint` to ensure the config is valid.
3. Commit the changes and tag the release.
4. `pnpm publish --access public` (the registry is already configured via `publishConfig`).

## License

See the repository's license file for details (or add one if missing before publishing).
npm package: @nivalis/linter
Description: Lint your code with Biome and ESLint at once
Latest version: 0.0.15

# @nivalis/linter

[![npm version](https://img.shields.io/npm/v/@nivalis/linter.svg)](https://www.npmjs.com/package/@nivalis/linter)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

> Lint your code with Biome and ESLint at once

## Overview

@nivalis/linter is a unified linting tool that combines the power of [Biome](https://biomejs.dev/) and [ESLint](https://eslint.org/) into a single, streamlined interface. Instead of running these linters separately, you can use @nivalis/linter to run both simultaneously and get consolidated results.

## Features

- ✅ **Unified Interface**: Run both Biome and ESLint with a single command
- 🔄 **Merged Results**: Get consolidated linting results from both tools
- 🛠️ **Auto-fixing**: Automatically fix linting issues with the `--fix` flag
- 🔍 **Debug Mode**: Get performance metrics and detailed error information
- ⚡ **Performance**: Optimized for speed with caching enabled

## Installation

```bash
# Using npm
npm install --save-dev @nivalis/linter

# Using yarn
yarn add --dev @nivalis/linter

# Using pnpm
pnpm add --save-dev @nivalis/linter

# Using bun
bun add --dev @nivalis/linter
```

## Usage

```bash
# Basic usage
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}"

# With auto-fixing
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}" --fix

# With debug mode
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}" --debug

# Allow unsafe fixes
npx nivalis-linter "src/**/*.{js,ts,jsx,tsx}" --fix --unsafe
```

## Configuration

@nivalis/linter uses your existing ESLint and Biome configurations. It will automatically detect:

- ESLint configuration files (`.eslintrc.*`, `eslint.config.js`)
- Biome configuration file (`biome.json`)

If no configuration is found, default configurations will be used.

## Options

| Option    | Description                       | Default |
|-----------|-----------------------------------|---------|
| `--fix`   | Automatically fix linting issues  | `false` |
| `--debug` | Run in debug mode                 | `false` |
| `--unsafe`| Allow unsafe fixes                | `false` |

## Why Use @nivalis/linter?

- **Save Time**: Run both linters at once instead of separately
- **Unified Output**: Get consolidated results in a single format
- **Best of Both Worlds**: Benefit from both Biome's and ESLint's capabilities
- **Simplified Workflow**: Integrate with your existing development process

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

[MIT](LICENSE)
npm package: @nivalis/polymarket-api-types
Description: TypeScript type definitions for Polymarket API
Author: Nivalis
Latest version: 0.2.0

# @nivalis/polymarket-api-types

[![npm version](https://badge.fury.io/js/@nivalis%2Fpolymarket-api-types.svg)](https://badge.fury.io/js/@nivalis%2Fpolymarket-api-types)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

TypeScript type definitions for the Polymarket API, providing comprehensive type safety for prediction market interactions.

## Features

- 🎯 **Complete Type Coverage** - All Polymarket API entities typed
- 🔒 **Type Safety** - Branded types for enhanced compile-time safety
- 🚀 **Zero Runtime** - Pure TypeScript declarations, no runtime overhead
- 📦 **Lightweight** - Only type definitions, no dependencies
- 🔧 **Developer Friendly** - Intelligent optional property handling

## Installation

```bash
pnpm install -D @nivalis/polymarket-api-types
```

## Usage

```typescript
import type { Event, Market, Trade, Profile } from "@nivalis/polymarket-api-types";

// Use types for API responses
const event: Event = {
  id: "event-123",
  title: "Will Bitcoin reach $100k by 2024?",
  slug: "bitcoin-100k-2024",
  createdAt: "2024-01-01T00:00:00Z" as Datetime,
  updatedAt: "2024-01-01T00:00:00Z" as Datetime,
  // ... other properties
};

const market: Market = {
  id: "market-456",
  question: "Yes or No?",
  slug: "bitcoin-100k-yes-no",
  conditionId: "0x1234567890abcdef",
  createdAt: "2024-01-01T00:00:00Z" as Datetime,
  updatedAt: "2024-01-01T00:00:00Z" as Datetime,
  // ... other properties
};

// Type-safe trading data
const trade: Trade = {
  conditionId: "0x1234567890abcdef",
  eventSlug: "bitcoin-100k-2024",
  proxyWallet: "0xabcdef1234567890",
  transactionHash: "0x9876543210fedcba",
  side: "BUY",
  price: 0.65,
  size: 100,
  timestamp: 1704067200,
  // ... other properties
};
```

## Type System

This library uses an advanced TypeScript pattern for enhanced type safety:

### Branded Types

```typescript
type Datetime = Tagged<string, "DateTime">;
type Integer = Tagged<number, "Int">;
type Float = Tagged<number, "Float">;
type Uri = Tagged<string, "Uri">;
```

### Smart Optional Properties

The library uses a `Maybe<T>` pattern that gets normalized to proper TypeScript optional properties:

```typescript
// Internal definition
type RawEvent = {
  id: string;
  title: string;
  description: Maybe<string>; // Optional
  featured: Maybe<boolean>; // Optional
};
```

## License

MIT © [Nivalis](https://github.com/nivalis-studio)
npm package: @nivalis/prettier-config
Description: Prettier config used at Nivalis Studio
Latest version: 3.8.1

# @nivalis/prettier-config

## Installation

```bash
npm i -D @nivalis/prettier-config prettier
```

## Setup

1. Add the `prettier` key to your `package.json`

```diff
diff --git a/package.json b/package.json
index 2ecef3d..260838f 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
   "keywords": [
     "prettier"
   ],
+  "prettier": "@nivalis/prettier-config",
   "license": "MIT",
   "main": "index.js"
```

2. Add the following to `scripts` in `package.json`

```
"prettier": "prettier '**/*.{js,ts,json,css,scss,html,hbs,md}' --write"
```

3. Install the relevant Editor Addon/Plugin and enable "Prettier on Save".

[Check out the `prettier` documentation for more info on sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations).

### With Tailwindcss

Create the following file `.prettierrc.js`

```javascript
module.exports = {
  ...require('@nivalis/prettier-config'),
  plugins: [require.resolve('prettier-plugin-tailwindcss')],
};
```

[Check out the `prettier` documentation for more info on sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations).
npm package: @nivalis/whatsapp-client
Description: @nivalis/whatsapp-client
Latest version: 0.1.5

# @nivalis/whatsapp-client

A small, typed client for the **WhatsApp Cloud API** (Meta Graph API), focused on sending messages and handling common interactive patterns.

- ESM package (`"type": "module"`)
- Works in Node.js (fetch-enabled) and Bun
- TypeScript-first API

## Install

```bash
pnpm add @nivalis/whatsapp-client
```

Peer dependency: `typescript@^5`.

## Quick start

```ts
import { WhatsAppClient } from '@nivalis/whatsapp-client';

const client = new WhatsAppClient({
  phoneNumberId: process.env.WHATSAPP_PHONE_NUMBER_ID!,
  accessToken: process.env.WHATSAPP_ACCESS_TOKEN!,
});

await client.sendMessage('15551234567', 'Hello from WhatsApp Cloud API');
```

## API

### `new WhatsAppClient(config)`

```ts
export type WhatsAppClientConfig = {
  phoneNumberId: string;
  accessToken: string;
};
```

The client sends requests to:

- `https://graph.facebook.com/v21.0/{phoneNumberId}/messages` for messaging operations
- `https://graph.facebook.com/v21.0/{mediaId}` for media lookups

### Send a text message

```ts
await client.sendMessage('15551234567', 'Hi!');
```

### React to a message

```ts
import { REACTION_EMOJIS } from '@nivalis/whatsapp-client';

await client.reactToMessage('15551234567', 'wamid.HBgLM...', REACTION_EMOJIS.SUCCESS);
```

Remove a reaction:

```ts
await client.removeReaction('15551234567', 'wamid.HBgLM...');
```

### Send interactive buttons

```ts
await client.sendInteractiveButtons('15551234567', 'Pick one:', [
  { id: 'choice_a', title: 'A' },
  { id: 'choice_b', title: 'B' },
]);
```

### Send a list message

```ts
await client.sendListMessage(
  '15551234567',
  'Choose a plan:',
  'View plans',
  [
    {
      title: 'Plans',
      rows: [
        { id: 'basic', title: 'Basic', description: '$9/mo' },
        { id: 'pro', title: 'Pro', description: '$19/mo' },
      ],
    },
  ],
);
```

Notes:

- Max 10 sections
- Max 10 rows per section

### Download media

```ts
const file = await client.downloadMedia('1234567890');
// `file` is a Buffer
```

## Error handling

If the Meta API responds with a non-2xx status, the client throws an error including the HTTP status and response body.

## Development

```bash
pnpm install
pnpm lint
pnpm test
pnpm build
```

Useful scripts:

- `pnpm lint` / `pnpm lint:fix` (Biome)
- `pnpm test` (Bun)
- `pnpm build` (zshy)
- `pnpm ts` (typecheck)

## License

MIT