open-index/open-npm huggingface dataset:
npm package: @k0ndratov/webterm-widget
Description: Vue 3 SSH Terminal component
Latest version: 0.1.0

# @slurm/webterm-widget

Vue 3 SSH Terminal component with integrated connection core.

## Installation

```bash
npm install @slurm/webterm-widget
```

## Usage

```vue
<template>
  <SshTerminal
    ref="terminalRef"
    backend-url=""
    host="example.com"
    username="user"
    password="password"
    @connected="onConnected"
    @disconnected="onDisconnected"
    @error="onError"
  />
</template>

<script setup>
import { ref } from 'vue';
import { SshTerminal } from '@slurm/webterm-widget';
import '@slurm/webterm-widget/style.css';

const terminalRef = ref();

function onConnected(payload) {
  console.log('Connected:', payload);
}

function onDisconnected(reason) {
  console.log('Disconnected:', reason);
}

function onError(error) {
  console.error('Error:', error);
}
</script>
```

## Props

| Prop | Type | Required | Description |
|------|------|----------|-------------|
| `backend-url` | String | Yes | Backend URL (empty string for proxy) |
| `host` | String | Yes | SSH server hostname |
| `username` | String | Yes | SSH username |
| `password` | String | Yes | SSH password |

## Events

| Event | Payload | Description |
|-------|---------|-------------|
| `connected` | `{ name: string }` | Fired when connection established |
| `disconnected` | `string` | Fired when connection closed (reason) |
| `error` | `string` | Fired on error |

## Methods

Access via template ref:

```js
terminalRef.value.disconnect()  // Close connection
terminalRef.value.fit()          // Resize terminal to fit container
```

## License

MIT
npm package: @k0r0bkin/odin-dropdown
Description: A simple dropdown component for vanilla JavaScript.
Author: k0r0bkin
Latest version: 1.0.1

# odin-dropdown

A simple dropdown component for vanilla JavaScript.

## Installation

```bash
npm install @k0r0bkin/odin-dropdown
```

## Usage

```js
import '@k0r0bkin/odin-dropdown/src/dropdown.css';
import { Dropdown } from '@k0r0bkin/odin-dropdown';

// Grab your dropdown element from the page
const dropdownElement = document.querySelector('#some-dropdown');
const dropdown = new Dropdown(dropdownElement);
```

## HTML Structure

```html
<div id="some-dropdown">
  <button class="dropdown-button">Menu</button>
  <div class="dropdown-content">
    <a href="#">Item 1</a>
    <a href="#">Item 2</a>
    <a href="#">Item 3</a>
  </div>
</div>
```

## License

This repository and the code inside it is licensed under the MIT License.
npm package: @k100rav/draft-js-fluent-markdown-plugin
Description: Draft.js Fluent Markdown Plugin
Author: Chengdu Mufan Technology Co., Ltd.
Latest version: 0.1.20

# Draft.js Fluent Markdown Plugin

Just another Draft.js markdown plugin. Online [DEMO](https://k100rav.github.io/draft-js-fluent-markdown-plugin/).

![fluent-markdown](https://user-images.githubusercontent.com/970430/50377868-5d182000-0660-11e9-9535-4636e6e2908d.gif)

## Why this fork exists?

This plugin is forked from the excellent [`draft-js-fluent-markdown-plugin`](https://github.com/makeflow/draft-js-fluent-markdown-plugin) by [makeflow](https://github.com/makeflow).

It has a single commit to make it compatible with draft-js 0.11 and React 17. This fork will be active until that support is added to the original plugin.

Changes:

- Add support for draft-js 0.11.7 and React 17.
- Based on draft-js-plugins/editor 4.1

## Features

- Common inline features like **bold**, _italic_, ~~strikethrough~~, `code`, [link](https://github.com/makeflow) and plain link https://github.com/vilic; and block features like ordered or unordered list, image block, code block, blockquote and horizontal rule.
- Carefully handled undo/redo stack, it always pushes the input before performing markdown transform.
- Reasonable character escaping support, you can safely type `**text\***` and get **text\*** without being surprised.

## Install

```sh
yarn add draft-js-fluent-markdown-plugin
```

## Usage

```tsx
import createFluentMarkdownPlugin from 'draft-js-fluent-markdown-plugin';

const PLUGINS = [createFluentMarkdownPlugin()];

<Editor
  editorState={...}
  onChange={...}
  plugins={PLUGINS}
/>
```

## License

MIT License.
npm package: @k11i/bolt-s3
Description: S3-backed InstallationStore implementation for bolt-js
Author: KOMIYA Atsushi
Latest version: 1.1.5

# Bolt for JavaScript: S3 InstallationStore

[![npm version](https://badge.fury.io/js/@k11i%2Fbolt-s3.svg)](https://badge.fury.io/js/@k11i%2Fbolt-s3)
[![codecov](https://codecov.io/gh/komiya-atsushi/slack-bolt-aws/graph/badge.svg?token=TXWAYL4LMZ)](https://codecov.io/gh/komiya-atsushi/slack-bolt-aws)

This package provides an S3-backed InstallationStore implementation with a few additional functionalities.

## Features

- Encryption using node:crypto module.
- Compression with Brotli.

## Installation

```bash
npm install @k11i/bolt-s3
```

You also need to install `@aws-sdk/client-s3` package to create an S3 client.

## Basic usage

```typescript
import {App} from '@slack/bolt';
import {S3Client} from '@aws-sdk/client-s3';
import {S3InstallationStore} from '@k11i/bolt-s3';

const installationStore = S3InstallationStore.create({
  clientId,
  s3: new S3Client(),
  // An S3 bucket needs to be created.
  bucketName: 'bucket-name-where-installations-are-stored',
  options: {
    historicalDataEnabled: true,
    // Omit the following line if you prefer not to encrypt and/or compress installations.
    installationCodec: BinaryInstallationCodec.createDefault(
      'your-encryption-password',
      'your-encryption-salt',
    ),
  }
});

const app = new App({
  socketMode: true,
  appToken: process.env.SLACK_APP_TOKEN,
  signingSecret: process.env.SLACK_SIGNING_SECRET,
  clientId: process.env.SLACK_CLIENT_ID,
  clientSecret: process.env.SLACK_CLIENT_SECRET,
  stateSecret: process.env.SLACK_STATE_SECRET,
  scopes: ['chat:write'],
  installerOptions: {
    directInstall: true,
  },
  installationStore,
});

// ...

// To delete installations correctly, we should handle tokens_revoked/app_uninstalled events manually.
// See https://github.com/slackapi/bolt-js/issues/1203
app.event('tokens_revoked', async ({context, event, logger}) => {
  const userIds = event.tokens.oauth;
  if (!userIds) {
    return;
  }

  const promises = userIds
    .map(userId => ({
      teamId: context.teamId,
      enterpriseId: context.enterpriseId,
      userId: userId,
      isEnterpriseInstall: context.isEnterpriseInstall,
    }))
    .map(query => installationStore.deleteInstallation(query, logger));

  await Promise.all(promises);
});

app.event('app_uninstalled', async ({context, logger}) => {
  await installationStore.deleteInstallation(
    {
      teamId: context.teamId,
      enterpriseId: context.enterpriseId,
      isEnterpriseInstall: context.isEnterpriseInstall,
    },
    logger
  );
});

(async () => {
  await app.start();
  console.log('⚡️ Bolt app is running!');
})();
```

## License

MIT License.

Copyright (c) 2024 KOMIYA Atsushi.
npm package: @k11r/nx-cloudflare-wrangler
Description: Nx Plugin for Cloudflare Wrangler
Author: Klaas Cuvelier
Latest version: 3.3.5

# nx-cloudflare-wrangler

An executor and generator for Cloudflare Wrangler (workers and pages)

## Workers

### Generate a new worker project

`npx nx g @k11r/nx-cloudflare-wrangler:worker <app-name>`

Creates a new NX project (based on the node template) with a new worker.
`build` and `deploy` targets are added automatically.

## Pages

### Add `deploy` target to an existing project

`npx nx g @k11r/nx-cloudflare-wrangler:pages <app-name> --directory=<root>/<app-name>`

This will only add a `deploy` target, the `build` property in `wrangler.toml` will point to the `build` target of the project.
npm package: @k11r/nx-netlify-deploy
Description: Nx Plugin for Netlify
Author: Klaas Cuvelier
Latest version: 3.3.5

# nx-netlify-deploy

An executor and generator for netlify deploys using the cli

## Add `deploy` target to an existing project

`npx nx g @k11r/nx-netlify-deploy:add-deploy-target <app-name> --site-id=<site-id>`
npm package: @k11r/nx-rsync-deployer
Description: Nx Plugin for deploy using RSync
Author: Klaas Cuvelier
Latest version: 3.3.5

# nx-rsync-deployer

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test nx-rsync-deployer` to execute the unit tests via [Jest](https://jestjs.io).

Requires bash, ssh and rsync.
npm package: @k12-design/pro-field
Description: 原子信息组件，统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。
Author: chenshuai2144
Latest version: 3.1.2

# @ant-design/pro-field

See our website [@ant-design/pro-field](https://procomponent.ant.design/) for more information.

## Install

Using npm:

```bash
$ npm install --save  @ant-design/pro-field
```

or using yarn:

```bash
$ yarn add  @ant-design/pro-field
```