open-index/open-npm huggingface dataset:
npm package: @siping/html-to-markdown-node
Description: A robust HTML to Markdown converter with plugin support
Latest version: 1.0.3

# html-to-markdown-node

A robust HTML to Markdown converter for Node.js with plugin support, inspired by [html-to-markdown](https://github.com/JohannesKaufmann/html-to-markdown).

## Features

- **Bold & Italic**: Supports bold and italic formatting
- **Lists**: Handles ordered and unordered lists with nesting
- **Blockquotes**: Supports nested blockquotes
- **Code**: Inline code and code blocks
- **Links & Images**: Properly formats links and images
- **Smart Escaping**: Escapes special characters only when necessary
- **Plugin System**: Easily extend with custom plugins
- **TypeScript**: Full TypeScript support with type definitions

## Installation

```bash
npm install html-to-markdown-node
```

## Usage

### Basic Usage

```typescript
import { convertString } from 'html-to-markdown-node';

const html = '<strong>Bold Text</strong>';
const markdown = convertString(html);
console.log(markdown); // **Bold Text**
```

### With Options

```typescript
import { convertString } from 'html-to-markdown-node';

const html = '<img src="/assets/image.png" />';
const markdown = convertString(html, {
  domain: 'https://example.com'
});
console.log(markdown); // ![](https://example.com/assets/image.png)
```

### Advanced Usage with Plugins

```typescript
import { Converter } from 'html-to-markdown-node';
import { BasePlugin } from 'html-to-markdown-node/plugins/base';
import { CommonMarkPlugin } from 'html-to-markdown-node/plugins/commonmark';

const converter = new Converter({
  plugins: [
    new BasePlugin(),
    new CommonMarkPlugin({
      strongDelimiter: '__'
    })
  ]
});

const markdown = converter.convertString('<strong>Bold Text</strong>');
console.log(markdown); // __Bold Text__
```

## API

### `convertString(html: string, options?: ConvertOptions): string`

Converts an HTML string to Markdown.

### `Converter`

The main converter class with full plugin support.

#### Options

- `domain?: string` - Base domain for converting relative URLs to absolute
- `escapeMode?: 'smart' | 'disabled'` - Escape mode (default: 'smart')
- `plugins?: Plugin[]` - Array of plugins to use

## Plugins

### Built-in Plugins

- **BasePlugin**: Basic functionality (removing nodes, etc.)
- **CommonMarkPlugin**: CommonMark specification implementation

### Creating Custom Plugins

```typescript
import { Plugin, Converter } from 'html-to-markdown-node';

class MyPlugin implements Plugin {
  name = 'my-plugin';
  
  init(converter: Converter): void {
    converter.register.renderer('custom-tag', (ctx, node) => {
      return '**custom**';
    }, 100);
  }
}
```

## License

MIT
npm package: @sipsdwangs/sonemap
Description: 一个基于arcgis4.16+vue的地图组件
Author: wangs
Latest version: 1.0.1

# mydemo

## Project setup

```
npm install
```

## https://static.arcgis.com/fonts->http://58.210.9.133/mapboxgl/glyphs

## esri\layers MapImageLayer.js

## esri\views\2d\layers TileLayerView2D.js

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production

```
npm run build
```

### Lints and fixes files

```
npm run lint
```

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).

### npm publish

```
npm run lib
```

### npm login

```
npm login
```

```
npm publish
```

### npm i @sipsdwangs/sonemap

### import sonemap from '@sipsdwangs/sonemap'

### import '@sipsdwangs/sonemap/lib/sonemap.css'

### Vue.use(sonemap)
npm package: @sipsgmedo/mapmost-onemap-x
Description: 基于Mapmost的地图应用组件
Author: wangs
Latest version: 3.5.0-beta1

# @medo/mapmost-onemap-x

<p >&emsp;&emsp;@medo/mapmost-onemap-x 是基于 Medo 平台与 Mapmost 技术封装的一张图地图开发 VUE 组件，包含底图加载、图层管理、快查搜索、工具条等一系列地图基础功能控件，通过 Medo 平台用户认证体系实现快速实现项目生产中的地图功能需求，具备主题定制、多种交互、高性能渲染等能力，推荐适用社会治理、自然资源场景应用。</p>

### 快速开始

#### 1、安装

这是个私有包，记得在.npmrc 文件中设置源

```javascript
@dpark:registry = "https://nexus.dpark.com.cn/repository/npm-sipsg/"
@mapmost:registry="https://nexus.dpark.com.cn/repository/npm-mapmost/"
@medo:registry = "https://nexus.dpark.com.cn/repository/npm-group/"
```

```bash
npm install @medo/mapmost-onemap-x -S -f
```

#### 2、引用

#### 全局引入

```javascript
import MapmostOnemap from '@medo/mapmost-onemap-x';
import '@medo/mapmost-onemap-x/dist/mapmost-onemap-x.css';
Vue.use(MapmostOnemap);
```

#### 按需引入

```javascript
import { MapmostOnemapView } from '@medo/mapmost-onemap-x';
import '@medo/mapmost-onemap-x/dist/mapmost-onemap-x.css';
```

Mapmost-onemap-x 组件依赖技术统一框架用户认证；依赖 mapmost 授权码（期限）；
控制器标记 ⭐ 可传入对象参数：{position: [top, right, bottom, left]}

#### 3、快速上手

```markdown
<mapmost-onemap-view-x style="position: relative;" :option='option'></mapmost-onemap-view-x>
```

##### 参数说明：

```javascript
  //初始化地图配置参数-组件内部发起服务请求-根据角色用户请求地图配置信息
  option:{
        container: "map001", //地图实例dom-id
        appId: "", //一张图应用appId
        mapCustomURL: "http://{ip}/medox-api",//地图通用服务地址
        mapStyleConfig: { //可不填：图标字体库设置
          sky: "light", //basic light dark 天空设置
          theme: "blue-algae", //内置主题色设置 可选值blue-algae蓝藻主题 common常规主题
          controls: { // 地图各模块显示控制
            MapCoordinate: true, //鼠标移动经纬度及缩放显示控制 ⭐
            MapTools: true, // 地图工具条 ⭐
            MapScale: true, // 地图比例尺 ⭐ 位置控制同MapAttri
            MapSearch: true,// 地图快查 ⭐
            MapSwitch: true,// 地图与影像底图切换 ⭐
            MapLayerManager: true //图层管理器 ⭐
            MapCoordinate: true, //坐标显示 ⭐
            MapNav: false, //zoom-控件 ⭐ 默认不显示
            MapAttri: true, //sipsg by medo  ⭐ 位置控制同MapScale
            MapLegend: true, // 开启图层图例
          },
          baseIp: "http://{ip}",
          sprite: `http://{ip}/sprite/streets-v9/sprite`,
          glyphs: `http://{ip}/glyphs/{fontstack}/{range}.pbf`,
          images: `http://{ip}/images`, //系统默认图标库
        }
  }
```

#### 3、文档地址

```markdown
开发中心 wiki
https://mwiki.dpark.com.cn/
组件文档
http://medo.dpark.com.cn/mapmost-onemap-x-doc/#快速开始
纯 API 文档
http://medo.dpark.com.cn/mapmost-onemap-x-api/index.html
```

## 支持坐标系

#### EPSG4490、EPSG3857、EPSG4527、EPSG4528、LOCAL（地方平面坐标系/苏州 2000）

## 资源地址

https://git.dpark.com.cn/git/kaifazhongxin/kuangjiayanfabu/mapmost-onemap-sourcedata/-/tree/master

## 组件内插槽

```vue
<mapmost-onemap-view-x :option="option" @success="mapSuccess">
  <slot></slot>
</mapmost-onemap-view-x>
```

::: warning 注意
组件内部 UI，多数采用绝对定位方式，z-index 默认为 1；插槽位置处在组件内置 UI 层之前位置，推荐使用绝对定位控制层级；
:::
npm package: @sipswap/sdk
Description: 🛠 An SDK for building applications on top of Sipswap.
Latest version: 1.0.0

# Sipswap SDK


## Running tests

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: @siptel/sdk
Description: Official Node.js SDK for the SIPTEL REST API (voice, AI agents, SMS, numbers, SIP).
Author: SIPTEL
Latest version: 0.1.1

# `@siptel/sdk`

Official **Node.js** SDK for the [SIPTEL REST API](https://siptel.ai/docs) — AI voice agents, Voice API, SMS, phone numbers, and SIP trunks.

Requires **Node.js 18+** (uses native `fetch`).

## Install

```bash
npm install @siptel/sdk
```

## Quick start

```ts
import { Client } from "@siptel/sdk";

const client = new Client({ apiKey: process.env.SIPTEL_API_KEY! });

const agents = await client.agent.listAgents();
console.log(agents);

await client.agent.createCall({
  phone_number: "+31612345678",
  caller_id: "+31201234567",
  voice: "Rachel",
  record: true,
  voicemail_action: "hangup",
  greeting_message: "Hello!",
  task_prompt: "You are a helpful assistant.",
});
```

## Configuration

| Option | Env | Default |
|--------|-----|---------|
| API key | `SIPTEL_API_KEY` | — |
| Base URL | — | `https://api.siptel.ai` |
| Timeout | — | 30s |
| User-Agent | `SIPTEL_USER_AGENT` | `SiptelNodeSDK/0.1` |

```ts
new Client({
  apiKey: "sk_live_...",
  baseUrl: "https://api.siptel.ai",
  timeoutMs: 60_000,
});
```

## API layout

| Namespace | Use |
|-----------|-----|
| `client.agent` | AI agent calls, list/get agents |
| `client.voice` | Voice API (play, gather, transfer, hangup, call status) |
| `client.sip` | SIP users / trunks |
| `client.sms` | Send SMS, list SMS apps |
| `client.numbers` | List/search/purchase/assign numbers |

## Errors

```ts
import {
  AuthenticationError,
  InvalidRequestError,
  NotFoundError,
  PaymentRequiredError,
  RateLimitError,
  APIError,
} from "@siptel/sdk";
```

## Escape hatch

```ts
await client.post("/v1/agent/call", { ... });
await client.get("/v1/custom/path");
```

## Development

```bash
npm install
npm run build
npm test
```

## npm organization

Publish under the **`@siptel`** scope on npm (create the org at [npmjs.com](https://www.npmjs.com/org/create) if needed):

```bash
npm publish --access public
```

## License

MIT — see [LICENSE](LICENSE).
npm package: @sipuni/sipuni
Description: Модуль для работы с API Sipuni
Author: Sipuni
Latest version: 0.0.2

# Модуль Node.js для работы с API Sipuni
### Описание
Библиотека для работы с API Sipuni из Функций Sipuni
### Установка
```
npm i @sipuni/sipuni --save
```
### Подключение
#### CommonJS
```
const SipuniApi = require('@sipuni/sipuni');
```
#### ECMAScript
```
import SipuniApi from '@sipuni/sipuni';
```
#### Инициализация
```
const sipuniApi = new SipuniApi({token:'token', host:'https://sipuni.com'})
```
`token`: JWT-токен пользователя Sipuni

`host`: адрес сервера Sipuni Api (опционально, по умолчанию `https://sipuni.com`)

### Реализованные методы

Методы сгруппированы и доступны через соответствующие свойства у объекта класса SipuniApi.

Уведомить по номеру онлайн-телефона:
```
//Со всеми данными для уведомления
let success = sipuniApi.sendNotifyWebphone(shortNum, notifyData);
//Упрощенный вызов
let success = sipuniApi.sendNotifyWebphoneSimple(shortNum, cardTitle, urlTitle, url); 
```
`shortNum`: номер онлайн-телефона сотрудника<br>
`notifyData`: полные данные для уведомления<br>
`cardTitle`: заголовок уведомления<br>
`urlTitle`: заголовок ссылки в уведомлении<br>
`url`: ссылка в уведомлении<br>
`success`: `true` если уведомление успешно отправлено, иначе `false`<br>

Формат `notifyData`:
```
{
    "crm": "bitrix24",
    "title": "Битрикс 24",
    "call_id": "1245654654.42525",
    "fields": [
      {
        "title": "Имя",
        "value": "Николай Семенов 12121"
      },
      {
        "title": "Компания",
        "value": "ООО ТрансАэро"
      },
      ...
    ],
    "links": [
      {
        "title": "Карточка клиента",
        "url": "https://amocrm.ru/contact/11441"
      },
      {
        "title": "Сделка",
        "url": "https://amocrm.ru/deals/11441"
      }
      ...
    ]
  }
```
npm package: @sipuni/usedesk
Description: Usedesk API wrapper for Node.js
Author: Sipuni
Latest version: 1.0.1

# Модуль Node.js для работы с API Usedesk

[![Build Status](https://travis-ci.org/sipuni/node-usedesk.svg?branch=main)](https://travis-ci.org/sipuni/node-usedesk)

### Описание


### Установка
```
npm i @sipuni/usedesk
```

### Реализованные методы

Методы сгруппированы и доступны через соответствующие свойства у объекта класса `SipuniUsedeskApi`,
например, `api.clients.create()` или `api.tickets.list()`.
Все методы возвращают Promise.

Методы, принимающие `properties`, ожидают объект. В объекте укажите такие же поля как в [документации](https://usedeskkb.atlassian.net/wiki/spaces/API/overview), 
кроме поля `api_token`, оно подается автоматически при каждом вызове метода.

Для списка методов ниже, предположим, что `api` это объект класса `SipuniUsedeskApi`
```ecmascript 6
const SipuniUsedeskApi = require('@sipuni/usedesk');
const token = 'aed2e810..........f05e2e21a';
const api = new SipuniUsedeskApi({ token });
```

Тикеты
```ecmascript 6
api.tickets.create(ticketProperties)
api.tickets.get(ticketId)
api.tickets.update(ticketProperties)
api.tickets.list(properties)
api.tickets.createComment(commentProperties)
api.tickets.tags()
api.tickets.fields()
```

Клиенты
```ecmascript 6
api.clients.create(clientProperties)
api.clients.get(clientId)
api.clients.update(clientProperties)
api.clients.list(properties)
```

Агенты
```ecmascript 6
api.users.groups()
api.users.create(userProperties);
api.users.get(userId);
api.users.update(userProperties);
api.users.list(properties);
api.users.delete(userId);
```

### Примеры

Для коробочной версии
```ecmascript 6
const SipuniUsedeskApi = require('@sipuni/usedesk');
const token = 'aed2e810..........f05e2e21a';
const host = 'api.yourdomain.com';
const api = new SipuniUsedeskApi({ token, host });
```

Для облачной версии
```ecmascript 6
const SipuniUsedeskApi = require('@sipuni/usedesk');
const token = 'aed2e810..........f05e2e21a';
const api = new SipuniUsedeskApi({ token });
```

Создание тикета
```ecmascript 6
const created = await api.tickets.create({
  subject: 'Не работает сеть',
  message: 'Подробности...'
});
```

Получение тикета по id
```ecmascript 6
const ticket = await api.tickets.get(ticket_id);
```

Создание клиента
```ecmascript 6
const client = await api.clients.create({ 
  name: 'Иван',
  emails: ['test@gmail.com'],
});
```

Получение клиента по id
```ecmascript 6
const found = await api.clients.get(client_id);
```

Создание агента
```ecmascript 6
const groups = await api.users.groups();
const user = await api.users.create({
    name: 'Николй',
    email: 'abc@cde.com',
    password: '123',
    group: `${groups[0].id}`,
});
```

### Лицензия

[MIT](https://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D1%8F_MIT) © [Sipuni](http://sipuni.com)
npm package: @siques/vue-ossfinder
Description: vue-ossfinder
Author: he
Latest version: 0.3.60

# vue-ossfinder

使用

## Project setup

```
yarn install
```

### Compiles and hot-reloads for development

```
yarn serve
```

### Compiles and minifies for production

```
yarn build
```

### Lints and fixes files

```
yarn lint
```

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).