open-index/open-npm huggingface dataset:
npm package: @kineto-frontend/analytics
Description: Kineto analytics tracking script for TinyBird
Author: kineto-frontend
Latest version: 0.5.0

# @kineto-frontend/analytics

Kineto analytics tracking script for Tinybird. Auto-executes on load, no framework dependencies.

## Deploy

The package is published to npm registry under the `@kineto-frontend` organization (managed by Tatyana Yakovleva).

### Steps

```bash
npm login          # Required once per day
npm run build      # Build the package
npm version minor  # Bump version (or: patch for bug fixes, major for breaking changes)
npm publish        # Publish to npm
```

### Usage in generated apps
unpkg automatically serves the latest published version when no version is specified in the URL in cloud/app-deploy-fastinflate project

```html
<script src="https://unpkg.com/@kineto-frontend/analytics/dist/index.js"
  defer
  data-token="TINYBIRD_TOKEN"
  data-host="https://api.europe-west2.gcp.tinybird.co"
  data-tb-tenant-id="PROJECT_ID">
</script>
```
npm package: @kineviz/graphxr-api-iframe
Description: Script GraphXR running in an iframe.
Latest version: 1.0.14

Script GraphXR running in an iframe.

```
import gxr from '@kineviz/graphxr-api-iframe'

// <iframe id="iframe" ...>
await gxr('#iframe').graph().add('a');
```

# Testing

1. First get a view URL from GraphXR. e.g. http://localhost:3000/share/676042878247412defcf8ac3/iframe/676042928247412defcf8af1/Untitled%201.

2. Paste it into src/test/index.html.

3. Run the following commands to test the implementation.

```
# Use ngrok or your favorite local server.
# e.g. Run the following command in the root directory of this repo.
ngrok http file://$pwd
# Open the URL in browser
open https://c6e750cd23de.ngrok.app/src/test/
# A graph should be generated after 5 seconds
# Check src/test/index.html for implementation
```

# Publishing

```
# 1. Login to npm. Ask Ben for access.
yarn login

# 2. Publish to npm. This will increment the version, tag the commit, and publish to npmjs.com
yarn publish

# 3. Push to GitHub
git push origin main
```
npm package: @kineviz/kuzu-lite
Description: An in-process property graph database management system built for query speed and scalability.
Author: Kùzu Team
Latest version: 0.11.3

# kuzu-lite

A lightweight fork of the [Kùzu](https://github.com/kuzudb/kuzu) embedded graph database, optimized for faster installation and broader compatibility.

## What is Kùzu?

Kùzu is a high-performance embedded graph database management system designed for efficient graph data storage and querying. It supports property graphs and the openCypher query language.

## Why We Forked Kùzu

- **Large Package Size:** The official Kùzu npm package exceeds 100MB, resulting in slow downloads and build times, particularly outside Europe and North America. **kuzu-lite** strips it down to essential binaries for a smaller, faster package.

- **No Alpine Linux Support:** The official Kùzu package doesn't support Alpine Linux, which is critical for lightweight Docker containers. **kuzu-lite** includes musl libc-compatible binaries to work seamlessly with Alpine Linux environments.

## Benefits

- **Smaller Footprint:** Significantly reduced package size for faster downloads and deployments.

- **Broader Compatibility:** Full support for Alpine Linux and musl libc environments.

- **Faster Integration:** Reduced build times in CI/CD pipelines and development workflows.

- **Same Core Power:** Retains all of Kùzu's essential functionality and performance in a leaner package.

## Installation

```bash
npm install kuzu-lite
# or
yarn add kuzu-lite
```

## Usage

```javascript
const kuzu = require('kuzu-lite');
const path = require("path");

(async () => {
  // Create an empty on-disk database and connect to it
  const db = new kuzu.Database(path.join(__dirname, "./demo_db"));
  const conn = new kuzu.Connection(db);
  try {
    await conn.query(`
      CREATE NODE TABLE Movie (name STRING, PRIMARY KEY(name));
      CREATE NODE TABLE Person (name STRING, birthDate STRING, PRIMARY KEY(name));
      CREATE REL TABLE ActedIn (FROM Person TO Movie);
      CREATE (:Person {name: 'Al Pacino', birthDate: '1940-04-25'});
      CREATE (:Person {name: 'Robert De Nero', birthDate: '1943-08-17'});
      CREATE (:Movie {name: 'The Godfather: Part II'})");
      MATCH (p:Person), (m:Movie) WHERE p.name = 'Al Pacino' AND m.name = 'The Godfather: Part II' CREATE (p)-[:ActedIn]->(m);
      MATCH (p:Person), (m:Movie) WHERE p.name = 'Robert De Nero' AND m.name = 'The Godfather: Part II' CREATE (p)-[:ActedIn]->(m);
      `)
  } catch (e) {
    console.error("Create DB failed:",e.message);
  }

  const queryResult = await conn.query("MATCH (p)-[:ActedIn]->(m) RETURN *");

  // Get all rows from the query result
  const rows = await queryResult.getAll();

  // Print the rows
  for (const row of rows) {
    console.log(row);
  }

})();


```

## Compatibility

kuzu-lite is tested on:
- Linux (glibc and musl libc)
- macOS (Intel and Apple Silicon)
- Windows

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the same license as Kùzu. See [LICENSE](LICENSE) file for details.
npm package: @kineviz/lodash
Description: Lodash modular utilities.
Author: John-David Dalton
Latest version: 4.17.23

# lodash v4.17.23

The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.

## Installation

Using npm:
```shell
$ npm i -g npm
$ npm i --save lodash
```

In Node.js:
```js
// Load the full build.
var _ = require('lodash');
// Load the core build.
var _ = require('lodash/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');

// Load method categories.
var array = require('lodash/array');
var object = require('lodash/fp/object');

// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');
```

See the [package source](https://github.com/lodash/lodash/tree/4.17.23-npm) for more details.

**Note:**<br>
Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.

## Support

Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.<br>
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available.
npm package: @king-3/converter-kit
Description: File to TXT conversion tool
Author: king3
Latest version: 1.3.5
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @king-3/converter-kit

文件与 TXT 互转工具，支持将任意文件转换为 Base64 编码的 TXT 文件并可还原。

## 安装

```bash
npm install -g @king-3/converter-kit
```

## 使用

### 基础命令

```bash
# 文件转 TXT（自动命名）
converter photo.jpg
# 输出: photo.txt

# 文件转 TXT（指定输出）
converter document.pdf --out archive.txt

# TXT 还原文件（自动使用原文件名）
converter archive.txt
# 输出: photo.jpg

# TXT 还原文件（指定输出）
converter archive.txt --out restored.jpg
```

### 命令选项

```bash
-o, --out <path>    指定输出路径
-h, --help          显示帮助信息
-v, --version       显示版本号
```

## 使用场景

- **文件备份**: 将文件转为文本格式便于传输和存储
- **版本控制**: 文本格式更适合 Git 等版本控制工具
- **跨平台共享**: 在受限环境中传输文件
- **内容嵌入**: 将文件内容嵌入到配置或代码中

## 工作原理

**文件 → TXT**

1. 读取文件二进制数据
2. 编码为 Base64 字符串
3. 保存元数据（文件名、扩展名、大小等）
4. 以 JSON 格式写入 TXT

**TXT → 文件**

1. 读取 TXT 并解析 JSON
2. 解码 Base64 数据
3. 还原为原始文件

生成的 TXT 格式示例：

```json
{
  "version": "1.3.0",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "file": {
    "name": "photo.jpg",
    "extension": ".jpg",
    "size": 102400,
    "base64": "iVBORw0KGgoAAAANSUhEUgAA..."
  }
}
```

## 注意事项

- 转换后的 TXT 文件会比原文件大约 33%（Base64 编码特性）
- 支持任意类型文件：图片、文档、压缩包、视频等
- 还原后的文件与原文件完全一致，无数据损失

## License

[MIT](./LICENSE) License © 2025-PRESENT [king3](https://github.com/coderking3)
npm package: @king-3/prettier-config
Description: This is my prettier config
Author: king3
Latest version: 3.4.0

# @king-3/prettier-config

> A minimal and opinionated Prettier config preset with sensible defaults.

[![npm version](https://img.shields.io/npm/v/@king-3/prettier-config.svg)](https://www.npmjs.com/package/@king-3/prettier-config)
[![npm downloads](https://img.shields.io/npm/dm/@king-3/prettier-config.svg)](https://www.npmjs.com/package/@king-3/prettier-config)
[![bundle size](https://img.shields.io/bundlephobia/minzip/@king-3/prettier-config.svg)](https://bundlephobia.com/package/@king-3/prettier-config)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[English](./README.md) | [中文](./README_zh.md)

## Features

- **📏 2 spaces indentation** - Consistent and readable
- **🚫 No semicolons** - Cleaner code style
- **✨ Single quotes** - Less visual noise
- **📝 No trailing commas** - Simplified syntax
- **🎯 Smart ignore patterns** - Automatically skips common build artifacts and lock files

## Installation

### Quick Setup

```bash
pnpm add -D prettier @king-3/prettier-config
```

Create a `prettier.config.mjs` file in your project root:

```js
// prettier.config.mjs
import king3 from '@king-3/prettier-config'

export default king3()
```

### Add Format Scripts

Add these scripts to your `package.json`:

```json
{
  "scripts": {
    "format": "prettier --write .",
    "format:check": "prettier --check ."
  }
}
```

Then run:

```bash
pnpm format        # Format all files
pnpm format:check  # Check formatting without modifying files
```

## Configuration

### Default Settings

```json
{
  "printWidth": 80,
  "semi": false,
  "singleQuote": true,
  "tabWidth": 2,
  "trailingComma": "none",
  "useTabs": false
}
```

### Custom Configuration

Override any default setting:

```js
// prettier.config.mjs
import { king3 } from '@king-3/prettier-config'

export default king3({
  printWidth: 120,
  semi: true
  // ... other Prettier options
})
```

### Ignored Files

The following patterns are automatically ignored:

```
**/node_modules/**
**/dist/**
**/coverage/**
**/temp/**
**/.vitepress/cache/**
**/.nuxt/**
**/.vercel/**
**/.changeset/**
**/.idea/**
**/.output/**
**/.vite-inspect/**
output/**
**/CHANGELOG*.md
**/*.min.*
**/LICENSE*
**/__snapshots__
**/auto-import?(s).d.ts
**/components.d.ts
**/typed-router.d.ts
**/pnpm-lock.yaml
```

## Editor Integration

### VS Code

Install the [Prettier extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) and add to your `.vscode/settings.json`:

```json
{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSave": true
}
```

## License

[MIT](./LICENSE) License © 2025-PRESENT [king3](https://github.com/coderking3)