open-index/open-npm huggingface dataset:
npm package: @lazorkit/wallet-mobile-adapter
Description: React Native adapter for LazorKit smart wallet with WebAuthn/passkey authentication on Solana
Author: LazorKit Team
Latest version: 1.5.1

# LazorKit React Native SDK

LazorKit allows you to build **Passkey-native** mobile applications.

It replaces complex seed phrases with the standard biometrics users already know: **FaceID** or **TouchID**.

## Features
- **Seedless**: Onboard users instantly with Passkeys
- **Gasless**: Sponsored transactions via Paymaster
- **Native**: Built for React Native & Expo
- **Secure**: Hardware-bound credentials

## Installation

```bash
npm install @lazorkit/wallet-mobile-adapter
```

## Usage

```tsx
import { LazorKitProvider, useWallet } from '@lazorkit/wallet-mobile-adapter';
import { View, Button, Text } from 'react-native';

// 1. Wrap App
export default function App() {
  return (
    <LazorKitProvider
      rpcUrl="https://api.devnet.solana.com"
      portalUrl="https://portal.lazor.sh"
      configPaymaster={{ paymasterUrl: "https://lazorkit-paymaster.onrender.com" }}
    >
      <WalletScreen />
    </LazorKitProvider>
  );
}

// 2. Use Hook
function WalletScreen() {
  const { connect, signMessage, isConnected } = useWallet();

  const handleSign = async () => {
    if (!isConnected) {
      await connect({ redirectUrl: 'myapp://home' });
      return;
    }

    const sig = await signMessage("Hello", { 
      redirectUrl: 'myapp://callback' 
    });
    console.log("Signed:", sig);
  };

  return <Button title="Action" onPress={handleSign} />;
}
```

## API Reference

### `useWallet()`

#### `connect(options)`

Connects to the wallet.

**Parameters**

| Param | Type | Description |
|---|---|---|
| `options.redirectUrl` | `string` | Deep link URL |

#### `disconnect()`

Disconnects the wallet.

#### `signMessage(message, options)`

Signs a message string.

**Parameters**

| Param | Type | Description |
|---|---|---|
| `message` | `string` | Content to sign |
| `options.redirectUrl` | `string` | Deep link URL |

**Returns**
`Promise<string>` - Signature

#### `signAndSendTransaction(payload, options)`

Signs and sends transaction.

**Parameters**

| Param | Type | Description |
|---|---|---|
| `payload.instructions` | `TransactionInstruction[]` | Instructions |
| `payload.transactionOptions` | `object` | Config options |
| `transactionOptions.feeToken` | `string` | Token address for gas fees (e.g. USDC). |
| `transactionOptions.computeUnitLimit` | `number` | Max compute units. |
| `transactionOptions.addressLookupTableAccounts` | `AddressLookupTableAccount[]` | Lookup tables for v0 txs. |
| `transactionOptions.clusterSimulation` | `'devnet' \| 'mainnet'` | Network for simulation. |

| `options.redirectUrl` | `string` | Deep link URL |

**Returns**
`Promise<string>` - Signature
npm package: @lazuee/blessed
Description: A high-level terminal interface library for node.js.
Author: Christopher Jeffrey
Latest version: 1.0.0

## blessed

> `blessed` is a curses-like library with a high level terminal interface API for node.js.

![blessed](https://raw.githubusercontent.com/lazuee/blessed/main/img/v0.1.0-3.gif)

### Installation

Install the package:

```bash
pnpm add -D @lazuee/blessed
```

### Example

This will render a box with line borders containing the text `'Hello world!'`,
perfectly centered horizontally and vertically.

> [!NOTE]
> It is recommend you use either `smartCSR` or `fastCSR` as a
`blessed.screen` option.  
> This will enable CSR when scrolling text in elements
or when manipulating lines.

``` js
var blessed = require('@lazuee/blessed');

// Create a screen object.
var screen = blessed.screen({
  smartCSR: true
});

screen.title = 'my window title';

// Create a box perfectly centered horizontally and vertically.
var box = blessed.box({
  top: 'center',
  left: 'center',
  width: '50%',
  height: '50%',
  content: 'Hello {bold}world{/bold}!',
  tags: true,
  border: {
    type: 'line'
  },
  style: {
    fg: 'white',
    bg: 'magenta',
    border: {
      fg: '#f0f0f0'
    },
    hover: {
      bg: 'green'
    }
  }
});

// Append our box to the screen.
screen.append(box);

// Add a png icon to the box
var icon = blessed.image({
  parent: box,
  top: 0,
  left: 0,
  type: 'overlay',
  width: 'shrink',
  height: 'shrink',
  file: __dirname + '/my-program-icon.png',
  search: false
});

// If our box is clicked, change the content.
box.on('click', function(data) {
  box.setContent('{center}Some different {red-fg}content{/red-fg}.{/center}');
  screen.render();
});

// If box is focused, handle `enter`/`return` and give us some more content.
box.key('enter', function(ch, key) {
  box.setContent('{right}Even different {black-fg}content{/black-fg}.{/right}\n');
  box.setLine(1, 'bar');
  box.insertLine(1, 'foo');
  screen.render();
});

// Quit on Escape, q, or Control-C.
screen.key(['escape', 'q', 'C-c'], function(ch, key) {
  return process.exit(0);
});

// Focus our element.
box.focus();

// Render the screen.
screen.render();
```

For more example, check the [`test/`](./test) directory.

## Documentation

See the [Documentation](../../wiki/Documentation) tab in the Wiki for references.

## License

This project is licensed under the MIT License - see the [LICENSE.md](./LICENSE.md) file for details

Copyright © `2013-2025` `Christopher Jeffrey` `lazuee`
npm package: @lazuee/bun-plugin-import-glob
Description: A Bun plugin that support import.meta.glob imports
Author: lazuee
Latest version: 1.0.1

## bun-plugin-import-glob

> `bun-plugin-import-glob` is a Bun plugin that support `import.meta.glob` imports.

### Installation

Install the package:

```bash
bun add -D @lazuee/bun-plugin-import-glob
```

### Usage

#### Bundler Plugin

Add the plugin to your build configuration:

```ts
import { importGlobPlugin } from "@lazuee/bun-plugin-import-glob";

await Bun.build({
    plugins: [importGlobPlugin()],
    // ...
});
```

#### Runtime Plugin

Add the plugin to your `bunfig.toml` to use it at runtime:

```toml
preload = ["@lazuee/bun-plugin-import-glob/runtime"]
```

#### TypeScript Configuration

Add the following to your `tsconfig.json`:

```jsonc
{
  "compilerOptions": {
    "types": [/* ... */ "@lazuee/bun-plugin-import-glob/global"]
  }
}
```

### Example

#### Without Eager
```ts
const result = import.meta.glob("./*.ts")
/* becomes
const result = {
  "./runtime.ts": () => import("./runtime.ts"),
  "./index.ts": () => import("./index.ts")
};
*/
```

#### With Eager
```ts
const result = import.meta.glob("./*.ts", {
    eager: true,
})
/* becomes
import * as _import_meta_glob_2 from "./index.ts";
import * as _import_meta_glob_ from "./runtime.ts";
const result = {
  "./runtime.ts": _import_meta_glob_,
  "./index.ts": _import_meta_glob_2
};
*/
```

## License

This project is licensed under the MIT License - see the [LICENSE.md](./LICENSE.md) file for details

Copyright © `2026` `lazuee`
npm package: @lazuee/hono-emitter
Description: Event emitter-based route handler for HonoJS
Author: lazuee
Latest version: 1.0.1

## hono-emitter

> `hono-emitter` is an Event emitter-based route handler for HonoJS.

### Installation

```bash
pnpm add -D @lazuee/hono-emitter
```

### Usage

```ts
import { argv } from "node:process";
import { fileURLToPath } from "node:url";

import { serve } from "@hono/node-server";
import { HonoEmitter } from "@lazuee/hono-emitter";
import { Hono } from "hono";

const isCLI = fileURLToPath(import.meta.url) === argv[1];
const app = new Hono().basePath("/api").get("/ping", (ctx) => ctx.text("pong"));

export const emitter = new HonoEmitter(app, "http://localhost:3000")
  .on("get:/world", (ctx) => {
    console.log("hello world");
    return ctx.text("hello world");
  })
  .once("get:/world", async (_ctx, next) => {
    console.log("middleware start");
    await next();
    console.log("middleware end");
  });

emitter.on("get:/hello", (ctx) => ctx.text("hello")); // not included in typings (not chained)

if (isCLI) {
  // If running directly, start the server
  serve({ ...app, port: 3000 }, () => {
    console.log("server is running...");
  });
}
```

#### Client types
```ts
import { hc } from "hono/client";
import { emitter } from ".";

const log =
  <S extends string>(name: S) =>
  <T extends Record<string, any>>(x: T) =>
    x.text().then((y: string) => console.log(`${name}:`, y));

const client = hc<typeof emitter.app>("http://localhost:3000");
await client.api.ping.$get().then(log("client[/api/ping]"));
await client.api.world.$get().then(log("client[/api/world]"));
//@ts-expect-error - not available in types (not chained)
await client.api.hello.$get().then(log("client[/api/hello]"));

await emitter.emit("get:/api/ping").then(log("emitter[/api/ping]"));
await emitter.emit("get:/api/world").then(log("emitter[/api/world]"));
//@ts-expect-error - not available in types (not chained)
await emitter.emit("get:/api/hello").then(log("emitter[/api/hello]"));
```

For a usage example, check the [app/](https://github.com/lazuee/hono-emitter/tree/main/app) directory.

## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/lazuee/hono-emitter/blob/main/LICENSE.md) file for details

Copyright © `2025` `lazuee`
npm package: @lazuee/poe.js
Description: A package for interacting with AI models from poe.com
Latest version: 0.2.0

## @lazuee/poe.js

> A package for interacting with AI models from poe.com

### Usage 🪄

Kindly check [Examples](https://github.com/lazuee/poe.js/tree/main/examples) for the usage

### Contributing to the project 💻

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

### Star the project 🌟

If you like the project, please leave a star on the [GitHub repository](https://github.com/lazuee/poe.js).

### License 🔑

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

Copyright © `2023` `lazuee`
npm package: @lazuee/react-router-hono
Description: A vite plugin that integrates hono with react-router, providing presets to simplify production setups.
Author: lazuee
Latest version: 1.2.6

## react-router-hono

> `react-router-hono` is a Vite plugin that integrates `hono` with `react-router`, providing presets to simplify production setups.

### Installation

Install the package:

```bash
pnpm add -D @lazuee/react-router-hono @hono/node-server hono
```

### Usage

#### Vite Configuration

Add the plugin to your `vite.config.js`:

```js
import { env } from "node:process";

import { reactRouterHono } from "@lazuee/react-router-hono";
import { reactRouter } from "@react-router/dev/vite";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";

const port = Number.parseInt(env?.PORT || "3000");

export default defineConfig({
  plugins: [
    reactRouterHono({
      serverFile: "src/server/index.ts", // Path to your Hono server file
    }),
    reactRouter(),
    tsconfigPaths(),
  ],
  server: {
    port, // This port will be used as the default unless overridden by `process.env.PORT` or `process.env.APP_PORT`
  },
});
```

#### Hono Configuration

Once you set the `serverFile` in the `reactRouterHono` plugin configuration, the file specified will be used as the base for your Hono server.

```ts
import { type ReactRouterHono } from "@lazuee/react-router-hono";

const reactRouterHono: ReactRouterHono = {
  getLoadContext(ctx) {
    return {
      message: "hello from hono",
    };
  },
  server(app) {
    app.get("/ping", (c) => c.text("pong"));
  },
};

export default reactRouterHono;
```

For a usage example, check the [website](https://github.com/lazuee/react-router/tree/main/apps/website) folder.

## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/lazuee/react-router/blob/main/LICENSE.md) file for details

Copyright © `2024-2025` `lazuee`
npm package: @lazuee/win-mouse
Description: Mouse tracking for Windows
Author: lazuee
Latest version: 1.0.1

## win-mouse

> `win-mouse` is a Windows-based mouse tracking that reports screen coordinates of mouse events, including when other applications are active in the foreground.

### Installation

Install the package:

```bash
pnpm add -D @lazuee/win-mouse
```

### Usage

```js
import { WinMouse } from "@lazuee/win-mouse";
const mouse = new WinMouse();

mouse.on("mouse", console.log);
setTimeout(() => mouse.destroy(), 5_000);

```

For a usage example, check the [`test/`](https://github.com/lazuee/win-mouse/blob/HEAD/test) directory.

### License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/lazuee/win-mouse/blob/HEAD/LICENSE.md) file for details

Copyright © `2025` `lazuee`
npm package: @lazy-and-focused/prettier-config
Description: Official Prettier configuration used by the Lazy-And-Focused team. Ensures uniform code formatting.
Author: Lazy-And-Focused
Latest version: 1.1.0

# Конфигурация Prettier для Lazy And Focused

Общая [Prettier](https://prettier.io) конфигурация для проектов, поддерживаемых командой **Lazy And Focused**.

## Установка

Установите пакет как зависимость для разработки:

```bash
npm install @lazy-and-focused/prettier-config
```

> **Зависимость (peer dependency)**: требуется Prettier `^3.0.0`. Убедитесь, что он установлен в вашем проекте.

## Использование

### Через ESM-файл конфигурации (`.prettierrc.mjs`)

Создайте файл `.prettierrc.mjs` в корне вашего проекта:

```js
import config from '@lazy-and-focused/prettier-config';
export default config;
```

#### Расширение или переопределение конфигурации

Если вам нужно изменить некоторые правила, импортируйте базовую конфигурацию и объедините её с вашими настройками:

```js
// .prettierrc.mjs
import config from '@lazy-and-focused/prettier-config';

/**
 * @see  https:\\prettier.io\docs\configuration
 * @type { import("prettier").Config }
 */
export default {
  ...config,
  semi: false,               // пример переопределения
  printWidth: 100,           // пример переопределения
};
```

> **Примечание**: Этот пакет распространяется как ES-модуль (`"type": "module"`). Если ваш проект использует CommonJS, вы можете использовать подход с `package.json` или создать динамический импорт в файле `.prettierrc.cjs`:
>
> ```js
> // .prettierrc.cjs
> module.exports = async () => {
>   const config = await import('@lazy-and-focused/prettier-config');
>   return config.default;
> };
> ```
>
> или
>
> ```js
> // .prettierrc.cjs
> const config = require('@lazy-and-focused/prettier-config');
> 
> module.exports = {
>   config: config.default
> };
> ```

## Детали конфигурации

Эта конфигурация включает следующие настройки Prettier (и не только):

| Параметр                      | Значение         |
| ----------------------------- | ---------------- |
| `arrowParens`                 | `"always"`       |
| `bracketSpacing`              | `true`           |
| `bracketSameLine`             | `false`          |
| `trailingComma`               | `"all"`          |
| `singleQuote`                 | `true`           |
| `jsxSingleQuote`              | `true`           |
| `semi`                        | `true`           |
| `tabWidth`                    | `2`              |
| `useTabs`                     | `false`          |
| `printWidth`                  | `80`             |
| `endOfLine`                   | `"lf"`           |
| `proseWrap`                   | `"always"`       |

### Переопределения для Markdown

Для Markdown-файлов (`*.md`, `*.mdx`) `printWidth` уменьшен до `70` для лучшей читаемости.

Полную конфигурацию можно посмотреть в [`src/index.js`](./src/index.js).

## Авторы

- [Lazy And Focused](https://laf-team.ru)
  - [lanvalird](https://lanvalird.ru)
  - [FOCKUSTY](https://fockusty.vercel.app)

## Лицензия

[MIT](./LICENSE) © 2025 Lazy And Focused