open-index/open-npm huggingface dataset:
npm package: @ricefarm/eslint-config-rice
Description: Eslint config for Rice
Author: HappyBobaDev
Latest version: 1.0.0

# eslint-config-rice

Rice Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @ricefarm/eslint-config-rice
```

Add `"extends": "@ricefarm/eslint-config-rice"` to your eslint config file.
npm package: @ricefarm/sdk
Description: 🛠 An SDK for building applications on top of Rice Farm.
Latest version: 1.0.0

# RiceFarm SDK

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/rice-farm/rice-sdk.git
```

Move into the rice-sdk working directory

```sh`
cd rice-sdk/
```

Install dependencies

```sh
yarn
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @ricefarm/uikit
Description: Set of UI components for RiceFarm projects
Latest version: 0.27.16-ts

# 🍚 Rice UIkit

[![Version](https://img.shields.io/npm/v/@ricefarm/uikit)](https://www.npmjs.com/package/@ricefarm/uikit) [![Size](https://img.shields.io/bundlephobia/min/@ricefarm/uikit)](https://www.npmjs.com/package/@ricefarm/uikit)

Rice Farm UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @ricefarm/uikit`

## Setup

### Theme

Before using Rice UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@ricefarm/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@ricefarm/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://rice-farm.github.io/rice-toolkit)
npm package: @ricefarm/uikitv2
Description: Set of UI components for ricefarm projects
Latest version: 0.45.4

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @ricerobotics/paddy
Description: Paddy
Author: AttaHo
Latest version: 0.0.73

# Paddy

[CHANGELOG.md](CHANGELOG.md)

## Usage

React App - `App.js`

```jsx
import React, { useState, useRef } from "react";
import { injectGlobal } from "emotion";
import { Paddy } from "@ricerobotics/paddy";
import PageComponent from "pages/PageComponent";
import GlobalComponent from "components/GlobalComponent";

const customSFX = new UIfx(require("./sounds/custom.aac").default);

injectGlobal`
  Global CSS Styles
`;

const App = () => {
  const [customState, setCustomState] = useState(null);
  const customRef = useRef(null);
  return (
    <Paddy
      pages={{ pageName: <PageComponent /> }}
      params={{ customParam: 0 }}
      status={{ customStatus: true }}
      sfx={{ customSFX }}
      states={{ customState, setCustomState }}
      refs={{ customRef }}
      constants={{ customConstant: "Custom" }}
    >
      <GlobalComponent />
    </Paddy>
  );
};

export default App;
```

## Hooks

```
usePaddy
usePaddyTransition
useAwaitElevatorState
useCallElevator
useCloseLid
useDispatchElevator
useElevatorState
useDispatchRobot
useOpenLid
usePark
useRobotStatus
useSetPosition
```

## UI Components

```
Actions
AnimatedIconText
Battery
BigIcon
Body
Button
CodePad
CountryCodeSelector
DestinationItem
FlagIcon
Header
Key
LoaderOverlay
LockPad
LockScreen
Modal
Page
PhoneNumberDisplay
PhonePad
Screen
ServiceSelector
Text
```

## API

```
openLid
closeLid
park
setGoal
cancelGoal
setPosition
sendMessage
elevatorDispatch
elevatorState
elevatorCall,
elevatorOpen,
elevatorClose,
turnstileOpen
getStatus
activateRelay
restoreMotor
sendError
getMapWaypoints
getMapMeta
activateSonar
deactivateSonar
ignoreInflation
setMission
recordVideo
activateDisinfection
deactivateDisinfection
saveData
loadData
planPath
```

## Lift Operators

```
carWithId
carWithState
```
npm package: @rich-97/compone
Description: A React.js UI library fully customizable.
Author: Ricardo Moreno
Latest version: 1.0.2

# compone

[![npm](https://img.shields.io/npm/v/@rich-97/compone.svg)](https://www.npmjs.com/package/@rich-97/compone)
[![npm](https://img.shields.io/npm/dm/@rich-97/compone.svg)](https://www.npmjs.com/package/@rich-97/compone)

A React.js UI library fully customizable.
npm package: @rich-apis/cursorrules
Description: Professional .cursorrules templates for Next.js, FastAPI, and React Native projects
Author: Rich APIs
Latest version: 1.0.1

# @rich-apis/cursorrules

Professional `.cursorrules` templates for [Cursor AI](https://cursor.sh). One command to set up battle-tested AI coding rules for your project.

More templates and vibe coding tips: **[t.me/vibecodingtips_original](https://t.me/vibecodingtips_original)**

## Quick Start

```bash
# Copy a template to your project
npx @rich-apis/cursorrules init nextjs
npx @rich-apis/cursorrules init fastapi
npx @rich-apis/cursorrules init react-native
```

That's it. Open your project in Cursor and the rules are active.

## Available Templates

| Template | Stack | Highlights |
|----------|-------|------------|
| `nextjs` | Next.js 14+, TypeScript, Tailwind | App Router, Server Components, Server Actions, Zod validation |
| `fastapi` | Python 3.11+, FastAPI, Pydantic v2 | 3-layer architecture, async, SQLAlchemy 2.0, Alembic |
| `react-native` | React Native / Expo, TypeScript | React Navigation, Zustand, React Query, FlashList |

## What's Inside

Each template defines:

- **Tech stack** expectations so the AI uses the right libraries
- **Code style** rules (naming, structure, patterns)
- **Architecture** guidelines (where logic lives, layering)
- **Performance** best practices specific to the framework
- **Security** rules the AI must follow
- **Testing** expectations and patterns

## CLI Usage

```bash
# List all templates
npx @rich-apis/cursorrules list

# Initialize a template
npx @rich-apis/cursorrules init <template>

# Help
npx @rich-apis/cursorrules --help
```

## Programmatic Usage

```js
const { getTemplate, listTemplates } = require('@rich-apis/cursorrules');

// Get template content
const rules = getTemplate('nextjs');

// List available templates
const templates = listTemplates();
// [{ id: 'nextjs', name: 'Next.js', description: '...' }, ...]
```

## Customization

The templates are starting points. After running `init`, edit `.cursorrules` to match your project:

- Add your specific libraries and versions
- Adjust architecture rules to your codebase
- Add project-specific conventions
- Include domain terminology

## Why .cursorrules?

Cursor AI reads `.cursorrules` from your project root to understand your coding standards. Without rules, the AI guesses. With good rules, it writes code that fits your codebase from the first try.

## More Resources

- **[Vibe Coding Tips](https://t.me/vibecodingtips_original)** - Telegram channel with daily AI coding tips
- **[Cursor Docs](https://docs.cursor.com)** - Official Cursor documentation

## License

MIT
npm package: @rich-apis/poly-widgets
Description: Embeddable Polymarket odds widgets for blogs and news sites
Author: PolySignals
Latest version: 1.0.0

# Poly Widgets

Embeddable Polymarket odds widgets for blogs and news sites. One script tag gives you live probability bars that auto-refresh every 60 seconds. Under 10KB, no dependencies.

## Quick Start

Add this to any HTML page:

```html
<script src="https://your-domain.vercel.app/embed.js"
  data-market-slug="will-donald-trump-win-the-2024-us-presidential-election"
  data-theme="light">
</script>
```

The widget renders itself right after the script tag. No extra divs, no CSS imports, no build step.

## Configuration

All config goes through `data-` attributes on the script tag:

| Attribute | Default | Description |
|---|---|---|
| `data-market-slug` | required | Polymarket market slug |
| `data-market-id` | - | Alternative: use market ID instead of slug |
| `data-theme` | `light` | `light` or `dark` |
| `data-width` | `480px` | Max width of the widget |
| `data-key` | - | API key (white-label/premium tiers) |

## JavaScript API

For programmatic use:

```js
// Include embed.js on the page first

var widget = PolyWidget.create('#my-container', {
  slug: 'market-slug-here',
  theme: 'dark',
  apiBase: 'https://your-domain.vercel.app'
});

// Refresh manually
widget.refresh();

// Remove the widget
widget.destroy();
```

## npm Install

```bash
npm install @rich-apis/poly-widgets
```

```js
require('@rich-apis/poly-widgets');
// PolyWidget is now available globally
```

## Self-Hosting

### Prerequisites

- Node.js 18+
- Vercel CLI (`npm i -g vercel`)

### Setup

1. Clone the repo
2. Copy `.env.example` to `.env`
3. Run `vercel dev` for local development
4. Deploy with `vercel --prod`

### API Endpoints

- `GET /api/v1/market?slug=xxx` - Fetch a single market by slug
- `GET /api/v1/market?id=xxx` - Fetch a single market by ID
- `GET /api/v1/markets?q=xxx&limit=10` - Search/list markets

### API Key Tiers

Set these in your `.env` to enable paid tiers:

- `WHITELABEL_KEYS` - Comma-separated keys for the $9/mo tier (removes branding)
- `PREMIUM_KEYS` - Comma-separated keys for the $29/mo tier (extra data fields)

## Pricing

| Tier | Price | What you get |
|---|---|---|
| Free | $0 | All features, "Powered by PolySignals" branding |
| White Label | $9/mo | No branding |
| Premium | $29/mo | No branding, extended market data, volume/liquidity details |

## Project Structure

```
poly-widgets/
  api/v1/
    market.js      # Single market endpoint
    markets.js     # List/search endpoint
  public/
    embed.js       # The widget (include this on your site)
    index.html     # Landing page
    demo.html      # Live demo page
  .env.example
  vercel.json
  package.json
```

## Disclaimer

This is an analytical tool. Not financial advice. Past data does not predict future results. Market data sourced from public Polymarket APIs.
npm package: @rich-apis/polymarket-odds
Description: Convert Polymarket probabilities to decimal, fractional, and American odds formats
Author: Rich APIs
Latest version: 1.0.1

# @rich-apis/polymarket-odds

Convert Polymarket probabilities to **decimal**, **fractional**, and **American** odds formats. Zero dependencies, pure JavaScript.

Part of the **PolySignals** toolkit for Polymarket analytics. See also: `@rich-apis/polymarket-sdk`

## Install

```bash
npm install @rich-apis/polymarket-odds
```

## Usage

```js
const odds = require('@rich-apis/polymarket-odds');

// Polymarket shows "Yes" at 65% probability
const result = odds.convert(0.65);
console.log(result);
// {
//   decimal: 1.5385,
//   fractional: "7/13",
//   american: -186,
//   impliedProbability: 0.65
// }

// Individual conversions
odds.toDecimal(0.65);    // 1.5385
odds.toFractional(0.65); // "7/13"
odds.toAmerican(0.65);   // -186

// Convert back to probability
odds.fromDecimal(2.0);      // 0.5
odds.fromAmerican(-150);    // 0.6
```

## API

### `convert(probability)` → `{ decimal, fractional, american, impliedProbability }`

All-in-one conversion. Takes a probability between 0 (exclusive) and 1 (inclusive).

### `toDecimal(probability)` → `number`

Returns decimal odds (e.g. 1.5385). Standard in Europe and exchanges.

### `toFractional(probability)` → `string`

Returns fractional odds as a string (e.g. "3/2"). Standard in the UK.

### `toAmerican(probability)` → `number`

Returns American/moneyline odds (e.g. -186 or +233). Standard in the US.

- **Negative** = favourite (bet that much to win $100)
- **Positive** = underdog (win that much on a $100 bet)

### `fromDecimal(decimalOdds)` → `number`

Convert decimal odds back to implied probability.

### `fromAmerican(americanOdds)` → `number`

Convert American odds back to implied probability.

## Why?

Polymarket displays probabilities as percentages (e.g. 65%), but many traders think in odds formats they already know from sports betting. This tiny utility bridges that gap.

## Related

- [PolySignals Whale Bot](https://t.me/polysignals_real) - Real-time Polymarket whale movement alerts
- `@rich-apis/polymarket-sdk` - Full Polymarket API client (coming soon)

## License

MIT
npm package: @rich_harris/snowpack
Description: The ESM-powered frontend build tool. Fast, lightweight, unbundled.
Author: Fred K. Schott
Latest version: 2.17.2

[![CI](https://github.com/snowpackjs/snowpack/workflows/CI/badge.svg?event=push)](https://github.com/snowpackjs/snowpack/actions)

### What is Snowpack?

**Snowpack is a modern, lightweight toolchain for web application development.** Traditional dev bundlers like webpack or Parcel need to rebuild & rebundle entire chunks of your application every time you save a single file. This introduces lag between changing a file and seeing those changes reflected in the browser, sometimes as slow as several seconds.

Snowpack solves this problem by serving your application **unbundled in development.** Any time you change a file, Snowpack never rebuilds more than a single file. There's no bundling to speak of, just a few milliseconds of single-file rebuilding and then an instant update in the browser via HMR. We call this new approach **O(1) Build Tooling.** You can read more about it in our [Snowpack 2.0 Release Post.](https://www.snowpack.dev/posts/2020-05-26-snowpack-2-0-release/)

When you're ready to deploy your web application to users, you can add back a traditional bundler like Webpack or Parcel. With Snowpack you get bundled & optimized production performance without sacrificing dev speed by adding an unnecessary bundler,

### Key Features

- A dev environment that starts up in **50ms or less.**
- Changes are reflected [instantly in the browser.](https://www.snowpack.dev/posts/2020-05-26-snowpack-2-0-release/#hot-module-replacement)
- Integrates your favorite bundler for [production-optimized builds.](https://www.snowpack.dev/posts/2020-05-26-snowpack-2-0-release/#snowpack-build)
- Out-of-the-box support for [TypeScript, JSX, CSS Modules and more.](https://www.snowpack.dev/posts/2020-05-26-snowpack-2-0-release/#features)
- Connect your favorite tools with custom [build scripts](https://www.snowpack.dev/posts/2020-05-26-snowpack-2-0-release/#build-scripts) & [third-party plugins.](https://www.snowpack.dev/posts/2020-05-26-snowpack-2-0-release/#build-plugins)

**💁 More info at the official [Snowpack website ➞](https://snowpack.dev)**