open-index/open-npm huggingface dataset:
npm package: @mohitkothari/buttons
Description: variable styles for react js button component
Author: Mohit Kothari
Latest version: 1.7.0

# ReactUILibrary - buttons

Beautiful and lightweight UI component for ReactJS developers. This UI library will speed up your app development.

![License](https://img.shields.io/npm/l/@mohitkothari/buttons?style=plastic)
![issues](https://img.shields.io/github/issues/mohitkothari-dev/ReactUILibrary?style=plastic)
![forks](https://img.shields.io/github/forks/mohitkothari-dev/ReactUILibrary?style=plastic)
![stars](https://img.shields.io/github/stars/mohitkothari-dev/ReactUILibrary?style=plastic)

Live StoryBook DEMO: https://reactuilibrary.netlify.app/

Live DEMO: https://o7s75t.csb.app/

Live CodeSandbox DEMO: https://codesandbox.io/s/buttonreactuikit-o7s75t

# ⭐️ `Star this repo`

If this uilibrary helps you build your Apps faster - please star this project, every star matters! It really motivates me.


# 🧭 `Table of contents`

-   [🚀 Quick Start](#-quick-start)
    -   [💿 Installation](#-installation)
    -   [🧰 Usage](#-usage)



# 🚀 `Quick Start`

### 💿 Installation

```bash
npm i @mohitkothari/buttons
```

or

```bash
yarn add @mohitkothari/buttons
```

### 🧰 Usage

```jsx
import { Button } from "@mohitkothari/buttons";

const App = () => (
    <>
        <Button label="Submit" size="small" backgroundColor="#00d2d3" textColor="#fff" />
    </>
);
```
npm package: @mohitkyadav/a-ui
Description: A design system for react apps.
Author: Mohit Kumar Yadav
Latest version: 0.1.6

# a-ui (In development)

[![Netlify Status](https://api.netlify.com/api/v1/badges/008cee7b-2011-45f8-8f7a-617f77e46248/deploy-status)](https://app.netlify.com/sites/a-ui/deploys)
[![Build Status](https://travis-ci.com/mohitkyadav/a-ui.svg?token=pLJkWav1wbnbGfoLfZtG&branch=master)](https://travis-ci.com/mohitkyadav/a-ui)
[![npm](https://img.shields.io/npm/v/@mohitkyadav/a-ui)](https://www.npmjs.com/package/@mohitkyadav/a-ui)
[![node-current](https://img.shields.io/node/v/@mohitkyadav/a-ui)](https://www.npmjs.com/package/@mohitkyadav/a-ui)
[![npm](https://img.shields.io/npm/dt/@mohitkyadav/a-ui)](https://www.npmjs.com/package/@mohitkyadav/a-ui)

A soft (neomorphic) design system for react apps.

## Live demo

For documentation and how to use, checkout a-ui's storybook: https://a-ui.netlify.app/.

Repository is currently private, if any questions and need help, post it on the discord server below.

[![Support](https://discordapp.com/api/guilds/522610943037931551/embed.png)](https://discord.gg/hyKYebyk)

## Installation

`npm install --save @mohitkyadav/a-ui`

## Usage

```
import {
  A, Avatar, Button, CheckBox,
  IconButton, OutsideClickListner,
  KeyEventListner, ToggleSwitch,
  RangeSlider, Badge,
} from '@mohitkyadav/a-ui
```

## Setting up the project locally

`npm i` - install all the dependencies

`npm start` - will start the storybook

`npm run build` - will build the project

`npm run test:watch` - will run tests in watch mode
npm package: @mohitmishra7/mdmend
Description: Fast, zero-dependency Markdown linter and fixer. Automatically fixes 48 common Markdown issues.
Author: Mohit Mishra
Latest version: 1.0.0

# mdmend

> Fast, zero-dependency Markdown linter and fixer. Fixes 48 common Markdown issues instantly.

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

## Installation

```bash
npm install -g mdmend
# or
npx mdmend lint .
```

## Usage

```bash
# Lint current directory
mdmend lint .

# Lint a single file
mdmend lint README.md

# Auto-fix all fixable violations
mdmend fix .

# Preview fixes without writing
mdmend fix . --dry-run

# Show unified diffs
mdmend fix . --diff

# Apply heuristic fixes (language detection, URL wrapping)
mdmend fix . --aggressive

# Lint only specific rules
mdmend lint . --only MD040,MD034

# Show rule frequency breakdown
mdmend lint . --stats

# List all available rules
mdmend rules list

# Show details about a specific rule
mdmend rules info MD040

# JSON output (for CI/tooling integration)
mdmend lint . --output json

# Advisory CI mode (always exits 0)
mdmend lint . --exit-zero

# Show suggestions for heuristic rules
mdmend suggest .
```

## Rules

mdmend implements 48 rules (MD003–MD058) covering:

- Heading style and structure
- List formatting
- Code fence language detection (MD040)
- Bare URL wrapping (MD034)
- Table formatting
- Blank line consistency
- And much more

38 of the 48 rules are **auto-fixable** with `mdmend fix`.

```
mdmend rules list          # Show all rules
mdmend rules list --fixable  # Show only auto-fixable rules
mdmend rules info MD040    # Details about a specific rule
```

## CI Integration

```yaml
# GitHub Actions
- name: Lint Markdown
  run: npx mdmend lint . --output json --exit-zero
```

```bash
# Fail CI if more than 10 violations
mdmend lint . --max-violations 10
```

## Supported Platforms

| Platform | x64 | arm64 |
|----------|-----|-------|
| macOS    | yes | yes   |
| Linux    | yes | yes   |
| Windows  | yes | —     |

## Links

- [GitHub](https://github.com/mohitmishra786/mdmend)
- [Rules Reference](https://github.com/mohitmishra786/mdmend/blob/main/RULES.md)
- [Bug Reports](https://github.com/mohitmishra786/mdmend/issues)

## License

MIT
npm package: @mohitmishra7/mdmend-darwin-arm64
Description: mdmend binary for darwin/arm64
Latest version: 1.0.0

# @mdmend/darwin-arm64

Platform-specific binary for [mdmend](https://www.npmjs.com/package/mdmend).

This package is installed automatically as an optionalDependency of `mdmend`.
You do not need to install it directly.

## Usage

Install the main package:

```bash
npm install -g mdmend
```

## License

MIT — https://github.com/mohitmishra786/mdmend
npm package: @mohitmishra7/mdmend-darwin-x64
Description: mdmend binary for darwin/x64
Latest version: 1.0.0

# @mdmend/darwin-x64

Platform-specific binary for [mdmend](https://www.npmjs.com/package/mdmend).

This package is installed automatically as an optionalDependency of `mdmend`.
You do not need to install it directly.

## Usage

Install the main package:

```bash
npm install -g mdmend
```

## License

MIT — https://github.com/mohitmishra786/mdmend
npm package: @mohitmishra7/mdmend-linux-arm64
Description: mdmend binary for linux/arm64
Latest version: 1.0.0

# @mdmend/linux-arm64

Platform-specific binary for [mdmend](https://www.npmjs.com/package/mdmend).

This package is installed automatically as an optionalDependency of `mdmend`.
You do not need to install it directly.

## Usage

Install the main package:

```bash
npm install -g mdmend
```

## License

MIT — https://github.com/mohitmishra786/mdmend
npm package: @mohitmishra7/mdmend-linux-x64
Description: mdmend binary for linux/x64
Latest version: 1.0.0

# @mdmend/linux-x64

Platform-specific binary for [mdmend](https://www.npmjs.com/package/mdmend).

This package is installed automatically as an optionalDependency of `mdmend`.
You do not need to install it directly.

## Usage

Install the main package:

```bash
npm install -g mdmend
```

## License

MIT — https://github.com/mohitmishra786/mdmend
npm package: @mohitmishra7/mdmend-win32-x64
Description: mdmend binary for win32/x64
Latest version: 1.0.0

# @mdmend/win32-x64

Platform-specific binary for [mdmend](https://www.npmjs.com/package/mdmend).

This package is installed automatically as an optionalDependency of `mdmend`.
You do not need to install it directly.

## Usage

Install the main package:

```bash
npm install -g mdmend
```

## License

MIT — https://github.com/mohitmishra786/mdmend
npm package: @mohitmishra7/never-cli
Description: AI constraint CLI for Claude, Cursor, and more
Latest version: 1.0.2

# @mohitmishra7/never-cli

*"A constraint engine for your AI, not a straitjacket for you."*

The official command-line interface for **Never**. It allows you to synchronize, inspect, and enforce AI coding constraints across your projects.

---

## The Problem

You have a system prompt. It is 4,000 tokens long. It contains rules for TypeScript, rules for Python, rules for that one legacy module nobody touches, and a request to "always be cheerful."

Your AI assistant ignores half of it because the context window is cluttered with irrelevant noise.

## The Solution

**Never** treats prompts as managed infrastructure. Instead of a text dump, you have a library of modular constraints. This CLI ensures that only the relevant rules are active for the current context.

## Installation

```bash
npm install -g @mohitmishra7/never-cli
```

## Commands

### `never init`
Walks you through an interactive setup. It detects your tech stack (TypeScript? React? Python?) and suggests an initial configuration. It creates a `.never/config.yaml` that serves as the blueprint for your project's constraints.

### `never sync`
The workhorse. It reads your config, pulls the corresponding rules from the library, and generates the optimized prompt files for your tools:
*   `.cursor/rules/*.mdc` for Cursor (split by category).
*   `CLAUDE.md` for Claude Code.
*   `AGENTS.md` for generic agentic frameworks.

It validates the rules, checks for conflicts, and performs atomic writes to ensure you never end up with a corrupted state.

### `never lint`
Checks your current code against the active constraints. If you have a rule that says "Never use `eval()`", this command will flag it in your PRs. It is designed to be fast enough to run in a pre-commit hook.

### `never scan`
Analyzes your codebase to recommend rule packs. It looks at `package.json`, `requirements.txt`, and file extensions to understand what you are building, then suggests the constraints you probably should have enabled.

### `never doctor`
Runs health checks and diagnoses common issues with your Never setup. It verifies that the configuration is valid, the rule library is accessible, and the output files are properly formatted.

## Architecture

The CLI is a thin wrapper around `@mohitmishra7/never-core`. It handles the user interaction, argument parsing (via `commander`), and output formatting. The heavy lifting of rule parsing and synchronization happens in the core, ensuring consistent behavior across all Never tools.

## Philosophy

We believe in **Progressive Strictness**. Start with a few critical rules (security, core patterns). Add more as your team aligns. The CLI makes it easy to add or remove rule sets, so your constraints evolve with your codebase.

---

MIT License
npm package: @mohitmishra7/never-core
Description: Core engine for Never - AI constraint management
Latest version: 1.0.2

# @mohitmishra7/never-core

*"The engine room of the ship."*

This is the core logic that powers **Never**, the constraint engine for AI coding assistants. While the CLI gets the glory and the VS Code extension captures the eyeballs, this library does the heavy lifting.

---

## What It Is

`@mohitmishra7/never-core` is a standalone TypeScript library that orchestrates rule management, synchronization, and safety checks. It is designed to be consumed by UIs (like the CLI) or integrations (like the MCP server) that need to enforce AI constraints.

It has no opinion on *how* you view the rules, only on how they are processed, validated, and persisted.

## Key Architectures

### 1. The Safety Manager
We do not trust file system operations blindly. The `SafetyManager` wraps every write operation in a transaction-like safety net.
*   **Atomic Writes:** Files are written to a temp location and renamed only upon success. No partial writes.
*   **Automatic Backups:** Before ensuring a new constraint file, we snapshot the old one. If something goes wrong, rollback is trivial.
*   **Diff Generation:** We calculate what *will* change before it changes, allowing for dry-run previews.

### 2. Conflict Detection
AI rules often contradict each other. One rule says "always use `const`", another says "prefer `let` for counters". The `ConflictDetector` uses Jaccard similarity and fuzzy matching to identify rules that might be fighting for the same semantic territory. It filters out duplicates before they confuse your LLM.

### 3. The Sync Engine
This is the conductor. It takes the raw markdown rules from the library, filters them through your project's `config.yaml`, and generates the tool-specific formats (MDC for Cursor, system prompts for Claude). It respects the "Parse, Don't Validate" philosophy—if the rule exists and is valid, it gets synced.

## Usage

You likely want the CLI (`@mohitmishra7/never-cli`) instead of this package directly. However, if you are building a custom integration:

```typescript
import { SyncEngine, SafetyManager } from '@mohitmishra7/never-core';

// Initialize the engine
const engine = new SyncEngine(projectPath, libraryPath);

// Sync rules to Claude's format
const result = engine.syncToClaude(activeRules);

// Atomic write with backup
const safety = new SafetyManager(projectPath);
safety.atomicWrite('critical-file.ts', content);
```

## Philosophy

This package follows the **Zero External State** principle. It does not maintain a database. It does not phone home. The file system is the source of truth. If you delete the `.never` folder, the state is gone, and that is a feature, not a bug.

---

MIT License
npm package: @mohitmishra7/never-mcp-server
Description: MCP Server for the Never Constraint Engine
Latest version: 1.0.2

# @mohitmishra7/never-mcp-server

*"Bridging the gap between your rules and your LLM."*

This is the Model Context Protocol (MCP) server for **Never**. It allows MCP-compliant AI clients (like Claude Desktop) to dynamically access and query your project's constraint library.

---

## Why This Exists

Static rule files (`CLAUDE.md`) are great, but they are passive. The AI has to read them. An MCP server allows the AI to *ask* for the rules.

When you connect Claude Desktop to this server, it gains a tool: `get_relevant_constraints`. It can invoke this tool when it starts a task to understand exactly what boundaries it must operate within for the current project context.

## capabilities

1.  **Dynamic Rule Retrieval:** The server reads your `.never/config.yaml` and returns only the active rules.
2.  **Context Awareness:** It can filter rules based on the files the user is currently asking about (e.g., "Give me the rules for `auth.ts`").
3.  **Conflict Resolution:** It leverages the core engine to filter out contradictory or duplicated rules before sending them to the LLM context.

## Setup

You generally do not install this package manually. Instead, you configure it in your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "never": {
      "command": "npx",
      "args": ["-y", "@mohitmishra7/never-mcp-server"]
    }
  }
}
```

## How It Works

The server sits on top of `@mohitmishra7/never-core`. When Claude requests constraints:
1.  The server locates the project root.
2.  It loads the rule library and configuration.
3.  It runs the `SyncEngine` logic in memory.
4.  It returns the structured constraints as a JSON payload to the LLM.

This ensures that the constraints served via MCP are identical to those enforced by the CLI. There is one source of truth.

---

MIT License
npm package: @mohitrj49/traceline
Description: log-message
Latest version: 0.0.6

# @mohitrj49/traceline

**@mohitrj49/traceline** is a utility library for console logging that conditionally enables or disables logging based on the environment. This is especially useful to prevent logging in production environments while allowing detailed logs in development or testing environments.

## Installation

You can install the package using npm:

```
npm install @mohitrj49/traceline
```

or using yarn:

```
yarn add @mohitrj49/traceline
```

## Usage

### Importing the Library

First, import the library in your TypeScript or JavaScript file:

```
import { traceline } from '@mohitrj49/traceline';
```

### Creating the Logger

You need to pass a function to determine if the environment is production. This function should return true if the environment is production, otherwise false.

```
const isProduction = (): boolean => {
    return process.env.NODE_ENV === 'production';
};
const logger = traceline({ shouldDisableNativeLogs: isProduction() });
```

### Logging Methods

The logger provides several methods for logging messages:

- **logger.info(...args: any[]):** Logs informational messages.
- **logger.warn(...args: any[]):** Logs warning messages.
- **logger.error(...args: any[]):** Logs error messages.
- **logger.log(...args: any[]):** Logs general messages.

These methods will only output messages if the environment is not production.

Example

```
import { traceline } from '@mohitrj49/traceline';

const isProduction = (): boolean => {
    return process.env.NODE_ENV === 'production';
};
const logger = traceline({ shouldDisableNativeLogs: isProduction() });

logger.info('This is an info message');
logger.warn('This is a warning message');
logger.error('This is an error message');
logger.log('This is a log message');
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
npm package: @mohsennz/p2p-sdk
Description: ```bash npm run example:1 npm run example:2 ```
Author: Mohsen Nezamolmolki
Latest version: 0.1.3

## Run Example

```bash
npm run example:1
npm run example:2
```

### Set debug log

```bash
LOG_LEVEL="debug" npm run example:2
```

## Example

Install:
```bash
npm install @mohsennz/p2p-sdk
```

```typescript
import { P2pProvider } from '@mohsennz/p2p-sdk'

const url = 'https://evm-rpcs.jungoai.xyz/'
const chainId = 30
const p2pp = await P2pProvider.new(url, chainId)

const blocknumber = await p2pp.getBlockNumber()
console.log('blocknumber: ', blocknumber)
```

For more inforemation checkout `./examples/` directory.

Wagmi example:
```typescript
import { baseAccount, injected, walletConnect } from '@wagmi/connectors'
import { mainnet, sepolia } from '@wagmi/core/chains'
import { P2pWagmiTransports } from '@mohsennz/p2p-sdk'

const url = 'https://evm-rpcs.jungoai.xyz/'
const chainId = 30

const p2pTrans = await P2pWagmiTransports.new(URL, [mainnet.id, sepolia.id])

export const config = createConfig({
  chains: [mainnet, sepolia],
  connectors: [
    injected(),
    baseAccount(),
    walletConnect({ projectId: import.meta.env.VITE_WC_PROJECT_ID }),
  ],
  transports: {
    [mainnet.id]: p2pTrans.transports().get(mainnet.id),
    [sepolia.id]: p2pTrans.transports().get(sepolia.id),
  },
})
```

After this, you can use this config to use wagmi. For more information please checkout `./examples/wagmi-2/`.