open-index/open-npm huggingface dataset:
npm package: @smartesting/rrweb-snapshot
Description: rrweb's component to take a snapshot of DOM, aka DOM serializer
Author: yanzhen@smartx.com
Latest version: 2.0.0-alpha.20

# rrweb-snapshot

[![Build Status](https://travis-ci.org/rrweb-io/rrweb.svg?branch=master)](https://travis-ci.org/rrweb-io/rrweb) [![Join the chat at slack](https://img.shields.io/badge/slack-@rrweb-teal.svg?logo=slack)](https://join.slack.com/t/rrweb/shared_invite/zt-siwoc6hx-uWay3s2wyG8t5GpZVb8rWg)

Snapshot the DOM into a stateful and serializable data structure.
Also, provide the ability to rebuild the DOM via snapshot.

## API

This module export following methods:

### snapshot

`snapshot` will traverse the DOM and return a stateful and serializable data structure which can represent the current DOM **view**.

There are several things will be done during snapshot:

1. Inline some DOM states into HTML attributes, e.g, HTMLInputElement's value.
2. Turn script tags into `noscript` tags to avoid scripts being executed.
3. Try to inline stylesheets to make sure local stylesheets can be used.
4. Make relative paths in href, src, CSS to be absolute paths.
5. Give an id to each Node, and return the id node map when snapshot finished.

#### rebuild

`rebuild` will build the DOM according to the taken snapshot.

There are several things will be done during rebuild:

1. Add data-rrid attribute if the Node is an Element.
2. Create some extra DOM node like text node to place inline CSS and some states.
3. Add data-extra-child-index attribute if Node has some extra child DOM.

#### serializeNodeWithId

`serializeNodeWithId` can serialize a node into snapshot format with id.

#### buildNodeWithSN

`buildNodeWithSN` will build DOM from serialized node and store serialized information in the `mirror.getMeta(node)`.
npm package: @smartesting/som
Description: ## Description
Author: alex ginhoux
Latest version: 0.0.7

# SOM.js – A Lightweight Library for Detecting Interactive Elements on Web Pages

## Description

SOM.js (Set of Mark) is an open-source JavaScript library designed to identify and analyze interactive elements on a web page. It provides developers with an easy-to-use API to detect buttons, links, input fields, and other actionable elements, making it ideal for accessibility audits, automated testing, and user interaction tracking.

## Features

✅ Detects interactive elements such as buttons, links, inputs, and more

✅ Provides structured data on detected elements

✅ Lightweight and fast, with no external dependencies

✅ Compatible with modern browsers and frameworks

## Installation

```sh
npm install @smartesting/som
```

## Usage

```ts
import '@smartesting/som'

const marks = window.markPage(false)
console.log(marks)
```

## Contribute

Contributions are welcome! Feel free to open issues, suggest features, or submit pull requests.

📌 GitHub Repo: github.com/Smartesting/som
📜 Licensed under MIT
npm package: @smartexcan/ts-datepicker
Description: Lightweight, dependency-free datepicker written in typescript.
Author: Smartex Canada
Latest version: 1.0.6

# TS Datepicker
[![NPM Version](https://img.shields.io/npm/v/%40smartexcan%2Fts-datepicker)](https://www.npmjs.com/package/@smartexcan/ts-datepicker)

A lightweight and dependency-free datepicker written in Typescript.

![datepicker image](./datepicker.png)

## Install
```bash
npm install @smartexcan/ts-datepicker
```

## Usage
TS Datepicker ships in both ESM and UMD format.

```js
import DatePicker from "@smartexcan/ts-datepicker";

new DatePicker(elementOrSelector [, options]);
```

Available files:
- UMD: dist/datepicker[.min].js
- ESM: dist/datepicker.esm[.min].js
- styles: dist/datepicker[.min].css
- types: dist/types/index.d.ts
- locales (see below)

Source maps are also created for all js files.

## Options

Please see [options.ts](./src/types/options.ts) for full list of options.

## Localization
TS Datepicker comes with english as the default locale.

You can supply a custom locale, or import them from `dist/locales`.

(Please see `dist/locales` for available locales. Locales are only supplied as ES modules.)

```js
import DatePicker from "@smartexcan/ts-datepicker";
import frCH from "@smartexcan/ts-datepicker/locales/fr-CH";

// add to global locale cache
DatePicker.locales['fr-CH'] = frCH;
new DatePicker(element, { locale: 'fr-CH' });

// use imported/custom locale directly
new DatePicker(element, { locale: frCH });

// custom locale
const locale = {
    days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
    daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
    daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
    months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
    monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
    today: "Today",
    clear: "Clear",
    format: "yyyy-mm-dd",
    weekStart: 0,
    rtl: false
};

DatePicker.locales.custom = locale;
new DatePicker(element, { locale: 'custom' });
```

All fields in custom locale are optional and fallback to default locale.

## Credits
TS Datepicker is inspired by and combines the features I liked the most from the following projects:

- [Vanilla JS Datepicker](https://github.com/mymth/vanillajs-datepicker)
- [Air Datepicker](https://github.com/t1m0n/air-datepicker)
- [flatpickr](https://github.com/flatpickr/flatpickr)

## License
TS Datepicker is MIT licensed
npm package: @smartexchange/sdk
Description: 🛠 An SDK for building applications on top of smartexchange.
Latest version: 1.0.1

# SmartExchange SDK



## 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/smartexchange/smartexchange-sdk.git
```

Move into the smartexchange-sdk working directory

```sh
cd smartexchange-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: @smartezviz/ezviz
Description: EZVIZ platform channel integration for OpenClaw
Latest version: 1.0.7

# @openclaw/ezviz

EZVIZ 平台 Channel 插件，通过 WebSocket 长连接将 OpenClaw AI 助手接入 EZVIZ IM 平台。

## 安装

```bash
openclaw plugins install @smartezviz/ezviz
```

## 快速配置

### 方式一：命令行（推荐）

```bash
# 生成 token（Base64 编码的 appId:appSecret）
# Linux/macOS:
echo -n "你的appId:你的appSecret" | base64

# Windows PowerShell:
[Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("你的appId:你的appSecret"))

# 添加 channel
openclaw channels add --channel ezviz --token "<Base64Token>"
```

### 方式二：交互式向导

```bash
openclaw channels setup ezviz
```

### 方式三：手动编辑配置

编辑 `~/.openclaw/openclaw.json`：

```json
{
  "channels": {
    "ezviz": {
      "enabled": true,
      "appId": "你的appId",
      "appSecret": "你的appSecret",
      "domain": "https://openai.ys7.com",
      "wsDomain": "ezclaw.ys7.com",
      "wsSecure": true
    }
  }
}
```

## 配置项

| 配置项 | 类型 | 默认值 | 说明 |
|--------|------|--------|------|
| `enabled` | boolean | `true` | 是否启用 |
| `appId` | string | - | EZVIZ 开放平台应用 ID |
| `appSecret` | string | - | EZVIZ 开放平台应用密钥 |
| `domain` | string | `https://openai.ys7.com` | REST API 地址 |
| `wsDomain` | string | `ezclaw.ys7.com` | WebSocket 服务地址 |
| `wsPath` | string | `/ws` | WebSocket 路径 |
| `wsSecure` | boolean | `true` | 是否使用 wss:// |
| `renderMode` | string | `auto` | 消息渲染模式 (auto/raw/card) |
| `mediaMaxMb` | number | `30` | 媒体文件大小限制 (MB) |

## 启动

```bash
openclaw start
```

插件会自动通过 WebSocket 连接到 EZVIZ 平台，接收和发送消息。

## License

MIT