open-index/open-npm huggingface dataset:
npm package: @myrtille/react
Description: An immutable (with immer mutations) one-way state manager without reducers.
Latest version: 0.8.5

# @myrtille/react
> React bindings for [@myrtille/core](https://github.com/fabienjuif/myrtille) or [@myrtille/mutate](https://github.com/fabienjuif/myrtille)

[![npm](https://img.shields.io/npm/v/@myrtille/react.svg)](https://www.npmjs.com/package/@myrtille/react) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@myrtille/react.svg)](https://bundlephobia.com/result?p=@myrtille/react) [![CircleCI](https://img.shields.io/circleci/build/github/fabienjuif/myrtille.svg)](https://app.circleci.com/pipelines/github/fabienjuif/myrtille?branch=master) [![Coveralls github](https://img.shields.io/coveralls/github/fabienjuif/myrtille.svg)](https://coveralls.io/github/fabienjuif/myrtille)

# Features
- 🔄 One-way state manager: your store is the single source of truth
- 💎 Immutable but feels mutable
- ⛏️ Hackable
- 💡 Based on events (actions)
- 📖 Compatible with redux-devtools

### API
- `provider(store: Store) -> Function(React.Component) -> React.Component`
- `Provider({ store: Store, children }) -> React.Element`
- `useDispatch() -> Function`
- `useListeners(listeners: [][(String | Action), Function]) -> void`
- `useStateAt(path: String | void) -> Any`
- `useStore -> Store`
- `Context: React.Context`
npm package: @mys-x/m-rpc
Description: A message based RPC library.
Author: mys1024
Latest version: 0.12.2

<div align="center">

# m-rpc

[![jsr-version](https://img.shields.io/jsr/v/%40mys/m-rpc?style=flat-square&color=%23f7df1e)](https://jsr.io/@mys/m-rpc)
[![npm-version](https://img.shields.io/npm/v/%40mys-x%2Fm-rpc?style=flat-square&color=%23cb3837)](https://www.npmjs.com/package/@mys-x/m-rpc)
[![npm-minzip](https://img.shields.io/bundlephobia/minzip/%40mys-x%2Fm-rpc?style=flat-square&label=minzip)](https://bundlephobia.com/package/@mys-x/m-rpc)
[![docs](https://img.shields.io/badge/docs-reference-blue?style=flat-square)](https://jsr.io/@mys/m-rpc/doc?style=flat-square)
[![stars](https://img.shields.io/github/stars/mys1024/m-rpc?style=flat-square)](https://github.com/mys1024/m-rpc)
[![license](https://img.shields.io/github/license/mys1024/m-rpc?&style=flat-square)](./LICENSE)

[![coverage](https://img.shields.io/codecov/c/github/mys1024/m-rpc?style=flat-square)](https://app.codecov.io/gh/mys1024/m-rpc)
[![workflow-ci](https://img.shields.io/github/actions/workflow/status/mys1024/m-rpc/ci.yml?label=ci&style=flat-square)](https://github.com/mys1024/m-rpc/actions/workflows/ci.yml)
[![workflow-release](https://img.shields.io/github/actions/workflow/status/mys1024/m-rpc/release.yml?label=release&style=flat-square)](https://github.com/mys1024/m-rpc/actions/workflows/release.yml)

_A message based RPC library._

</div>

## Usage

### basic

```typescript
import { MRpc } from "@mys-x/m-rpc"; // or "jsr:@mys/m-rpc"

function add(a: number, b: number) {
  return a + b;
}

// The port can be a MessagePort, a WebSocket, a Worker, or a WorkerGlobalScope
const { port1, port2 } = new MessageChannel();
const rpc1 = new MRpc(port1);
const rpc2 = new MRpc(port2);

rpc1.defineLocalFn("add", add);
await rpc2.callRemoteFn<typeof add>("add", [1, 2]); // 3
```

## License

[MIT](./LICENSE) License &copy; 2024-PRESENT
[mys1024](https://github.com/mys1024)
npm package: @mys-x/utils
Description: Utils that meet my personal needs.
Author: mys1024
Latest version: 0.1.5

<div align="center">

# @mys-x/utils

[![jsr-version](https://img.shields.io/jsr/v/@mys/utils?style=flat-square&color=%23f7df1e)](https://jsr.io/@mys/utils)
[![npm-version](https://img.shields.io/npm/v/@mys-x/utils?style=flat-square&color=%23cb3837)](https://www.npmjs.com/package/@mys-x/utils)
[![npm-minzip](https://img.shields.io/bundlephobia/minzip/@mys-x/utils?style=flat-square&label=minzip)](https://bundlephobia.com/package/@mys-x/utils)
[![docs](https://img.shields.io/badge/docs-reference-blue?style=flat-square)](https://jsr.io/@mys/utils/doc?style=flat-square)
[![stars](https://img.shields.io/github/stars/mys1024/utils?style=flat-square)](https://github.com/mys1024/utils)
[![license](https://img.shields.io/github/license/mys1024/utils?&style=flat-square)](./LICENSE)

[![coverage](https://img.shields.io/codecov/c/github/mys1024/utils?style=flat-square)](https://app.codecov.io/gh/mys1024/utils)
[![workflow-ci](https://img.shields.io/github/actions/workflow/status/mys1024/utils/ci.yml?label=ci&style=flat-square)](https://github.com/mys1024/utils/actions/workflows/ci.yml)
[![workflow-release](https://img.shields.io/github/actions/workflow/status/mys1024/utils/release.yml?label=release&style=flat-square)](https://github.com/mys1024/utils/actions/workflows/release.yml)

_Utils that meet my personal needs._

</div>

## Usage

```typescript
import { delay } from "@mys-x/utils"; // or "jsr:@mys/utils"

await delay(1000);
```

## License

[MIT](./LICENSE) License &copy; 2024-PRESENT
[mys1024](https://github.com/mys1024)
npm package: @mysafety/sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 2.4.1

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## 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/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
yarn install
```

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: @mysandbox/ireader_mcp
Description: A Model Context Protocol (MCP) server that provides tools for reading and extracting content from internet.
Author: Thanh Pham
Latest version: 1.0.0

# iReader MCP

A Model Context Protocol (MCP) server that provides tools for reading and extracting content from internet.

## Installation

```bash
# Clone the repository
git clone https://github.com/zlatanpham/ireader-mcp.git
cd ireader-mcp

# Install dependencies
pnpm install
```

## Available Tools

| Tool                     | Description                                         | Parameters                                       |
| ------------------------ | --------------------------------------------------- | ------------------------------------------------ |
| `get_webpage_markdown`   | Fetches the content of a webpage using Jina reader. | `url`: string - The URL of the webpage to fetch  |
| `get_youtube_transcript` | Fetches the transcript of a YouTube video.          | `videoURL`: string - The YouTube video ID or URL |
| `get_tweet_thread`       | Fetches the thread of a tweet.                      | `tweetURL`: string - The tweet URL or ID         |
| `get_pdf`                | Extracts text content from a PDF file.              | `url`: string - The URL of the PDF file          |

## Running Your Server

### Test with mcp-cli

The fastest way to test and debug your server is with fastmcp dev:

```bash
pnpm test
```

This will run your server with `mcp-cli` for testing and debugging your MCP server in the terminal.

### Inspect with MCP Inspector

Another way is to use the official MCP Inspector to inspect your server with a Web UI:

```bash
pnpm inspect
```

## FAQ

### How to use with Claude Desktop?

Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:

```json
{
  "mcpServers": {
    "ireader": {
      "command": "npx",
      "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"],
      "env": {
        "YOUR_ENV_VAR": "value"
      }
    }
  }
}
```

The server will start and listen for MCP client connections via stdio.

## License

MIT