open-index/open-npm huggingface dataset:
npm package: @ratiu5/kysely-bun-psql
Description: Kysely dialect for PostgreSQL using the Bun's SQL client
Author: Zack Novosad
Latest version: 0.0.3

# kysely-bun-psql

![Powered by TypeScript](https://img.shields.io/badge/powered%20by-typescript-blue.svg)

> ⚠️ **Beta Status**: This package is currently in beta. While it's functional and tested, you may encounter bugs or missing features. Please [open an issue](https://github.com/zacknovosad/kysely-bun-psql/issues) if you find any problems or have feature requests. Pull requests are welcome!

[Kysely](https://github.com/koskimas/kysely) dialect for [PostgreSQL](https://www.postgresql.org/) using Bun's built-in SQL client under the hood.

This dialect provides a fast, native PostgreSQL client for Kysely when running in Bun, leveraging [Bun's built-in SQL support](https://bun.sh/docs/api/sql) introduced in v1.2.

## Installation

```bash
bun add @ratiu5/kysely-bun-psql
```

## Usage

```typescript
import { Kysely, type Generated } from "kysely";
import { BunDialect } from "kysely-bun-psql";

interface Database {
  person: {
    id: Generated<number>;
    first_name: string;
    last_name: string | null;
    created_at: Generated<Date>;
  };
}

const db = new Kysely<Database>({
  dialect: new BunDialect({
    url: "postgres://user:pass@localhost:5432/db",
  }),
});

// Execute queries
const person = await db
  .selectFrom("person")
  .selectAll()
  .where("id", "=", 1)
  .executeTakeFirst();

// Use transactions
await db.transaction().execute(async (trx) => {
  await trx
    .insertInto("person")
    .values({
      first_name: "John",
      last_name: "Doe",
    })
    .execute();
});

// Clean up
await db.destroy();
```

## Configuration

The dialect accepts all the same options as Bun's SQL client:

```typescript
interface BunDialectConfig {
  url: string;
  hostname?: string;
  port?: number;
  database?: string;
  username?: string;
  password?: string;
  max?: number;
  idleTimeout?: number;
  maxLifetime?: number;
  connectionTimeout?: number;
  tls?: boolean;
}
```

## Requirements

- Bun v1.2 or higher

## License

MIT License, see \`LICENSE\`
npm package: @ratiu5/solidui-cli
Description: Add Solid UI Components to your application using the Solid-UI CLI tool
Author: Stefan E-K & Michael Essiet
Latest version: 0.7.4

# solid-ui

A CLI for adding components to your project.

## Usage

Use the `init` command to initialize dependencies for a new project.

The `init` command installs dependencies, adds the `cn` util, configures `tailwind.config.cjs`, and sets up CSS variables for the project.

```bash
npx solidui-cli@latest init
```

## add

Use the `add` command to add components to your project.

The `add` command adds a component to your project and installs all required dependencies.

```bash
npx solidui-cli@latest add [component]
```

### Example

```bash
npx solidui-cli@latest add alert-dialog
```

You can also run the command without any arguments to view a list of all available components:

```bash
npx solidui-cli@latest add
```

## Documentation

Visit https://solid-ui.com to view the documentation.

## License

Licensed under the [MIT license](https://github.com/stefan-karger/solid-ui/blob/main/LICENSE).
npm package: @ratiu5/starlight-search-cli
Description: Starlight search CLI
Author: RATIU5
Latest version: 0.0.6

# Starlight Search CLI

CLI tool for searching Starlight documentation and fetching llms.txt content.

## Installation

```sh
npm install -g @ratiu5/starlight-search-cli
```

## Commands

### search

Search documentation for a keyword.

```sh
sls search -d https://docs.example.com "buffers"
```

**Options:**

- `-d, --domain` - API domain (e.g. `http://localhost:4321`)

**Output:**

```json
{
  "results": [
    {
      "url": "https://docs.example.com/guide/buffers",
      "title": "GPU Buffers",
      "excerpt": "Learn about WebGPU buffers...",
      "score": 0.95,
      "llmsTxt": "https://docs.example.com/guide/buffers/_llms-txt"
    }
  ],
  "totalResults": 1
}
```

### show

Fetch and display llms.txt content from a URL.

```sh
sls show "https://docs.example.com/guide/buffers/_llms-txt"
```

## Development

```sh
pnpm dev      # watch mode
pnpm build    # build for production
pnpm typecheck
```
npm package: @ratnia/sqk
Description: SQK: A high-performance TypeScript-based package manager
Author: Ratnia
Latest version: 1.2.3

<p align="center">
    <img src="assets/logo.png" >
</p>



A high-performance package manager written in TypeScript, designed to be faster than npm, Yarn, and PNPM. SQK installs dependencies from the npm registry, caches them locally for speed, and generates a lockfile for consistency.

## Installation

Install globally via npm:
```bash
npm install @ratnia/sqk -g
```

[npm](https://www.npmjs.com/package/sqk)

by @Ratnia
npm package: @ratoufa/iconsax-iconify
Description: Iconsax icons in Iconify JSON format
Author: Chris
Latest version: 1.0.0

# @ratoufa/iconsax-iconify

[Iconsax](https://iconsax.io) icons in [Iconify](https://iconify.design) JSON format, compatible with Nuxt Icon and UnoCSS.

## Installation

```bash
pnpm add -D @ratoufa/iconsax-iconify
# or
npm install -D @ratoufa/iconsax-iconify
```

## Usage with Nuxt Icon

```vue
<template>
  <Icon name="iconsax:home-bold" />
  <Icon name="iconsax:setting-linear" />
  <Icon name="iconsax:user-outline" />
</template>
```

## Usage with UnoCSS

```ts
// uno.config.ts
import { defineConfig, presetIcons } from 'unocss'
import { icons as iconsaxIcons } from '@ratoufa/iconsax-iconify'

export default defineConfig({
  presets: [
    presetIcons({
      collections: {
        iconsax: () => iconsaxIcons,
      },
    }),
  ],
})
```

```html
<div class="i-iconsax:home-bold" />
```

## Naming convention

Icons follow the pattern `{name}-{variant}`:

- `home-bold`
- `setting-linear`
- `user-outline`
- `arrow-right-twotone`

Available variants: `bold`, `broken`, `bulk`, `linear`, `outline`, `twotone`.

## License

MIT
npm package: @ratoufa/iconsax-nuxt
Description: Nuxt 3 module for Iconsax icons with auto-imports
Author: Chris
Latest version: 1.0.0

# @ratoufa/iconsax-nuxt

Nuxt 3 module for [Iconsax](https://iconsax.io) icons with auto-imports.

## Installation

```bash
pnpm add @ratoufa/iconsax-nuxt
# or
npm install @ratoufa/iconsax-nuxt
```

## Setup

Add the module to your `nuxt.config.ts`:

```ts
export default defineNuxtConfig({
  modules: ['@ratoufa/iconsax-nuxt'],
})
```

## Usage

The `IsIcon` dynamic component is auto-imported:

```vue
<template>
  <IsIcon name="home" variant="bold" size="24" color="red" />
</template>
```

## Options

```ts
export default defineNuxtConfig({
  modules: ['@ratoufa/iconsax-nuxt'],
  iconsax: {
    // Register all icons globally (increases bundle size)
    global: false,
    // Component prefix (default: 'Is')
    prefix: 'Is',
  },
})
```

### Global registration

With `global: true`, all icon components are auto-imported:

```vue
<template>
  <!-- No import needed -->
  <IsHome variant="bold" />
  <IsUser variant="twotone" size="32" />
</template>
```

## License

MIT
npm package: @ratriches/crc
Description: Crc 8, 16, 32 CheckSums
Author: RAT
Latest version: 1.0.1

# crc calculate (8, 16, 32 bits witdh)

Implementation of CRC algorithm in JS (for nodejs).
Supports 8, 16 and 32 bits witdh

## Installation

```bash
$ npm i @ratriches/crc
or,
$ npm i https://github.com/ratriches/crc
```

## Usage

Code example:

```js
const { Crc, modelFind } = require('@ratriches/crc');

// predefined model
const m = modelFind('CRC16_KERMIT');
const c1 = new Crc(m);
console.log('tests 1');
console.log('1234567890', c1.compute('1234567890')); // 286B

// user defined model
const c2 = new Crc(16, 0x8005, 0x0102, 0xf00f, false, true);
console.log('tests 2');
console.log('1234567890', c2.compute('1234567890')); // 3E6F
```

CRC8 predefined models:
- CRC8, CRC8_SAE_J1850, CRC8_SAE_J1850_ZERO, CRC8_8H2F, CRC8_CDMA2000, CRC8_DARC, CRC8_DVB_S2, CRC8_EBU, CRC8_ICODE, CRC8_ITU, CRC8_MAXIM, CRC8_ROHC, CRC8_WCDMA

CRC16 predefined models:
- CRC16_CCIT_ZERO, CRC16_ARC, CRC16_AUG_CCITT, CRC16_BUYPASS, CRC16_CCITT_FALSE,
CRC16_CDMA2000, CRC16_DDS_110, CRC16_DECT_R, CRC16_DECT_X, CRC16_DNP, CRC16_EN_13757, CRC16_GENIBUS, CRC16_MAXIM, CRC16_MCRF4XX, CRC16_RIELLO, CRC16_T10_DIF, CRC16_TELEDISK, CRC16_TMS37157, CRC16_USB, CRC16_A, CRC16_KERMIT, CRC16_MODBUS, CRC16_X_25, CRC16_XMODEM, 

CRC32 predefined models:
- CRC32, CRC32_BZIP2, CRC32_C, CRC32_D, CRC32_MPEG2, CRC32_POSIX, CRC32_Q, CRC32_JAMCRC, CRC32_XFER, 

## License

Please consult the attached LICENSE file for details.
npm package: @ratta-plugin/template
Description: The template used by `npx @react-native-community/cli init` to bootstrap a React Native application.
Latest version: 1.0.0

# React Native Community Template

The template used by `npx @react-native-community/cli init` to bootstrap a React Native application.

[![Build Status][build-badge]][build] [![Version][version-badge]][package] [![MIT License][license-badge]][license] [![PRs Welcome][prs-welcome-badge]][prs-welcome]


# Create Latest CLI Project
Using this command create latest react-native project with this template
```
npx @react-native-community/cli@latest init TestApp
```

# Create Specific Version React-Native CLI Project
Add version flag and specify that existing version of react-native to create project.
Note that this command will create a new project from the template using the specific version passed to the flag

    npx @react-native-community/cli init TestApp --version <VERSION>

Replace `<VERSION>` with the version number you need. For example: 0.75.2.


## Contents

- [About](#about)
- [License](#license)

## About

This repository contains the template used by the React Native Community's Command Line Tool (or CLI) to bootstrap a React Native project.

## License

Everything inside this repository is [MIT licensed](./LICENSE).

<!-- badges -->

[build-badge]: https://img.shields.io/github/actions/workflow/status/react-native-community/template/test.yml?branch=main&style=flat-square
[build]: https://github.com/react-native-community/template/actions/workflows/test.yml
[version-badge]: https://img.shields.io/npm/v/@react-native-community/template.svg?style=flat-square
[package]: https://www.npmjs.com/package/@react-native-community/template
[license-badge]: https://img.shields.io/npm/l/@react-native-community/template.svg?style=flat-square
[license]: https://opensource.org/licenses/MIT
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs-welcome]: http://makeapullrequest.com
npm package: @rattan/zmtools
Description: 参考 readme.md 说明文档
Author: rattan
Latest version: 1.0.6

# @rattan/zmtools

## 1、导入

1、在【package.json】文件中添加导入配置
```json
  "dependencies": {
    "@rattan/zmtools": "^1.0.5"
  }
```

2、打开项目中的终端，输入：
```shell
npm install
```

3、下载成功后在【node_modules】中显示

## 2、使用

1、组件引用
```javascript
import zmtools from "@rattan/zmtools"
```

2、方法调用
```javascript
export default {
	onShow() {
		// 开启定位监听
		zmtools.location.monitor.zmBegin()
		// 定位监听 - 成功回调
		uni.$on('iLocationSuc', (e) => {
			console.log("iLocationSuc_e:", JSON.stringify(e));
		})
		// 定位监听 - 失败回调
		uni.$on('iLocationErr', (e) => {
			console.log("iLocationErr_e:", JSON.stringify(e));
		})
	},
	onHide() {
		// 结束定位监听
		zmtools.location.monitor.zmEnd()
		uni.$off('iLocationSuc');
		uni.$off('iLocationErr');
	},
		
	onLoad(options) {
		// 高德sdk 逆编码
		let _da = (await zmtools.amap.zmRegeo())[0];
		// 高德sdk 天气简况
		let _da = await zmtools.amap.zmWeather();
		// uniapp 获取经纬度
		var _temp = await zmtools.location.func.zmLocation();
		// 计算两个经纬度的距离
		var __dis = (zmtools.speedy.zmCalcuDistance(24.445676, 118.082555, 24.445676, 118.082545) * 1000).toFixed(1)
		let showDis = __dis + "米";
	},

	methods: {},
}

```