open-index/open-npm huggingface dataset:
npm package: @providesupport/live-chat-window-react
Description: Components for adding chat to a react application
Author: kterentiev providesupport
Latest version: 1.1.3


# Provide Support Live Chat component for React.js

This component is designed to add Provide Support Live Chat widget to a web application.

To use it you need to have an account in [Provide Support Live Chat](https://www.providesupport.com/) system.

## Demo

[Minimal demo](https://codepen.io/providesupport/pen/qBwJEQp)

[Demo with custom chat button position on different pages](https://codepen.io/providesupport/pen/RwOeNdq)

[Demo with additional styles applied to chat button](https://codepen.io/providesupport/pen/YzMRwPN)

[Demo with several chat links on one page](https://codepen.io/providesupport/pen/WNqQaRb)

## Installing / Getting started

This package is available in NPM repository as @providesupport/live-chat-window-react. It works correctly with all popular bundlers.

```bash
npm install @providesupport/live-chat-window-react --save
```

## Include the Component

To start using live chat with React.js, import LiveChat component from the @providesupport/live-chat-window-react package and pass your Provide Support account name or account hash as "company" parameter.

```jsx
import React from 'react';
import { LiveChat } from '@providesupport/live-chat-window-react';

export default () => (
  <div className="app">
    <LiveChat company="account_name_or_hash" />
  </div>
);
```

The LiveChat component should be as close to the root of the application as possible since it contains an iframe.

### LiveChat Props

| Prop name                    | Description                                                             | Is required | Default value              |
| ---------------------------- | ----------------------------------------------------------------------- | ----------- | -------------------------- |
| company                      | Account name specified during registration                              |      ✓      | n/a                        |
| isUploadAfterDocumentLoaded  | Load chat button after page loads                                       |      ✖      | true                       |
| (...otherParams)             | All other parameters will be passed to the banner download URL          |      ✖      | n/a                        |
npm package: @provincial-platform/eslint-config-js
Description: Provincial platform eslint config for javascript
Author: MAXLZ1
Latest version: 0.1.7

# @provincial-platform/eslint-config-js

![eslint](https://img.shields.io/badge/eslint-v7.29.0-blue)

## 使用

### 安装
```shell
# yarn
yarn add eslint @provincial-platform/eslint-config-js -D
# npm/cnpm
npm install eslint @provincial-platform/eslint-config-js --save-dev
```

### 配置
.eslintrc.js
- 完整引入所有规则
```javascript
module.exports = {
  ...,
  extends: [
    '@provincial-platform/eslint-config-js'
  ]
}
```
- 按需引入规则
```javascript
module.exports = {
  ...,
  extends: [
    '@provincial-platform/eslint-config-js/rules/possible-errors',
    '@provincial-platform/eslint-config-js/rules/best-practices',
    '@provincial-platform/eslint-config-js/rules/strict',
    '@provincial-platform/eslint-config-js/rules/variables',
    '@provincial-platform/eslint-config-js/rules/node',
    '@provincial-platform/eslint-config-js/rules/style',
    '@provincial-platform/eslint-config-js/rules/es6',
  ]
}
```

## 说明

> `@provincial-platform/eslint-config-js`几乎包含了Eslint的所有规范。其主要分为以下几个包：

#### rules/possible-errors.js
该包下的规则与JavaScript代码中可能的错误或逻辑错误有关。例如禁止出现空语句块、禁止不必要的分号等规则。
#### rules/best-practices.js
该包下的规则与一些最佳实践有关。如禁用`alert`、`confirm`、`prompt`、`eval()`，禁止多个空格等规则。
#### rules/strict.js
该包下只有一条规则：禁用严格模式指令。
#### rules/variables.js
该包下规则与变量声明相关。例如禁止出现未使用过的变量。
#### rules/node.js
该包下的规则是针对Node.js和浏览器中的CommonJS。例如要求`require()`必须出现在顶层模块作用域。
#### rules/style.js
该包下规则与代码风格相关。例如末尾逗号、数组之间换行、一致的缩进等等。
#### rules/es6.js
该包下规则只与es6相关。例如箭头函数的参数必须使用圆括号、禁止`new Symbol`。
npm package: @provincial-platform/eslint-config-ts
Description: Provincial platform eslint config for typescript
Author: MAXLZ1
Latest version: 0.2.2

# @provincial-platform/eslint-config-ts

![eslint](https://img.shields.io/badge/eslint-v7.29.0-blue)

## 使用

### 安装
```shell
# yarn
yarn add eslint @provincial-platform/eslint-config-ts -D
# npm/cnpm
npm install eslint @provincial-platform/eslint-config-ts --save-dev
```

### 配置
.eslintrc.js
- 完整引入所有规则
```javascript
module.exports = {
  ...,
  extends: [
    '@provincial-platform/eslint-config-ts'
  ]
}
```
npm package: @provincial-platform/eslint-config-vue3
Description: Provincial platform eslint config for vue3
Author: MAXLZ1
Latest version: 0.2.2

# @provincial-platform/eslint-config-vue3

![eslint](https://img.shields.io/badge/eslint-v7.29.0-blue)
![eslint-plugin-vue](https://img.shields.io/badge/eslint--plugin--vue-v8.0.3-blue)


## 使用

### 介绍
该包包含`eslint-plugin-vue`中的所有规则，具体规则参考：https://eslint.vuejs.org/rules/

### 安装
```shell
# yarn
yarn add eslint @provincial-platform/eslint-config-vue3 -D
# npm/cnpm
npm install eslint @provincial-platform/eslint-config-vue3 --save-dev
```

### 配置
.eslintrc.js
- 完整引入所有规则
```javascript
module.exports = {
  ...,
  extends: [
    '@provincial-platform/eslint-config-vue3'
  ]
}
```
- 按需引入规则
```javascript
module.exports = {
  ...,
  extends: [
    '@provincial-platform/eslint-config-vue3/rules/vue3-strongly-recommended',
    '@provincial-platform/eslint-config-vue3/rules/vue3-recommended',
    '@provincial-platform/eslint-config-vue3/rules/uncategorized',
    '@provincial-platform/eslint-config-vue3/rules/extension',
  ]
}
```

## 说明

> `@provincial-platform/eslint-config-vue3`几乎包含了eslint-plugin-vue的所有规范。其主要分为以下几个包：

#### rules/vue3-strongly-recommended.js
针对`plugin:vue3-strongly-recommended`的补充。参考：https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/configs/vue3-strongly-recommended.js
#### rules/vue3-recommended.js
针对`plugin:vue3-recommended`的补充。参考：https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/configs/vue3-recommended.js
#### rules/uncategorized.js
一些未分类的规则，对应[https://eslint.vuejs.org/rules/](https://eslint.vuejs.org/rules/ '')`Uncategorized`目录下的规则。
#### rules/extension.js
该包下的规则是基于Eslint本身提供的规则，应用至`<template>`标签内
npm package: @provincial-platform/eslint-config-vue3-js
Description: Provincial platform eslint config for vue3(javascript)
Author: MAXLZ1
Latest version: 0.1.5

# @provincial-platform/eslint-config-vue3-js

![eslint](https://img.shields.io/badge/eslint-v7.29.0-blue)
![@babel/core](https://img.shields.io/badge/%40babel%2Fcore-v7.14.8-blue)
![@babel/eslint-parser](https://img.shields.io/badge/%40babel%2Feslint--parser-v7.14.7-blue)
![@provincial-platform/eslint-config-js](https://img.shields.io/badge/%40provincial--platform%2Feslint--config--js-v0.1.7-blue)
![@provincial-platform/eslint-config-vue3](https://img.shields.io/badge/%40provincial--platform%2Feslint--config--vue3-v0.2.2-blue)


## 说明

> `@provincial-platform/eslint-config-vue3-js`包含了`@provincial-platform/eslint-config-js`、`@provincial-platform/eslint-config-vue3`两个包的规则。

## 使用

### 安装

#### yarn
```shell
yarn add eslint @provincial-platform/eslint-config-vue3-js -D
```

#### npm

```shell
npm install eslint @provincial-platform/eslint-config-vue3-js --save-dev
```

如果您使用`vue-cli`,请执行如下命令
```shell
yarn add eslint @babel/core @babel/eslint-parser -D
```

### 配置
.eslintrc.js
```javascript
module.exports = {
  ...,
  extends: [
    '@provincial-platform/eslint-config-vue3-js'
  ],
  // vue-cli项目需要
  parserOptions: {
    parser: '@babel/eslint-parser'
  }
}
```
npm package: @provincial-platform/eslint-config-vue3-ts
Description: Provincial platform eslint config for vue3(typescript)
Author: MAXLZ1
Latest version: 0.2.12

# @provincial-platform/eslint-config-vue3-ts

![eslint](https://img.shields.io/badge/eslint-v7.29.0-blue)
![@provincial-platform/eslint-config-js](https://img.shields.io/badge/%40provincial--platform%2Feslint--config--js-v0.1.7-blue)
![@provincial-platform/eslint-config-ts](https://img.shields.io/badge/%40provincial--platform%2Feslint--config--ts-v0.2.1-blue)
![@provincial-platform/eslint-config-vue3](https://img.shields.io/badge/%40provincial--platform%2Feslint--config--vue3-v0.2.2-blue)


## 说明

> `@provincial-platform/eslint-config-vue3-ts`包含了
> `@provincial-platform/eslint-config-js`、`@provincial-platform/eslint-config-ts`、
> `@provincial-platform/eslint-config-vue3`三个包的规则。

## 使用

### 安装

#### yarn
```shell
yarn add eslint @provincial-platform/eslint-config-vue3-ts -D
```

#### npm

```shell
npm install eslint @provincial-platform/eslint-config-vue3-ts --save-dev
```


### 配置
> 如果你使用的是`.eslintrc.js`文件，请在`.eslintignore`添加`.eslintrc.js`

.eslintrc
```text
{
  "extends": [
    "@provincial-platform/eslint-config-vue3-ts"
  ]
}
```
npm package: @provincial-platform/stylelint-config
Description: Provincial platform stylelint config
Author: MAXLZ1
Latest version: 0.1.4

# @provincial-platform/stylelint-config

![stylelint](https://img.shields.io/badge/stylelint-v13.13.1-blue)
![stylelint-order](https://img.shields.io/badge/stylelint--order-v4.1.0-blue)
![stylelint-config-rational-order](https://img.shields.io/badge/stylelint--config--rational--order-v0.1.2-blue)



## 说明

> 具体规则详情参考：https://stylelint.io/

## 使用

### 安装

#### yarn
```shell
yarn add stylelint @provincial-platform/stylelint-config -D
```

#### npm

```shell
npm install stylelint @provincial-platform/stylelint-config --save-dev
```


### 配置

.stylelintrc
```text
{
  "extends": [
    "@provincial-platform/stylelint-config"
  ]
}
```
npm package: @provision-ai/airport-cli
Description: Put apps online from the command line with Airport.so
Latest version: 2.0.0

# airport-cli

Put apps online from the command line with [Airport.so](https://airport.so).

A zero-dependency Node.js CLI that wraps the Airport.so REST API. Works great for humans and AI agents alike.

## Install

```bash
npm install -g @provision-ai/airport-cli
```

Or run directly:

```bash
npx @provision-ai/airport-cli connect --port 3000
```

Requires Node.js 18+ and [cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/) for connections.

## Quick start

```bash
# 1. Register (you'll get an email to verify)
airport register --email you@example.com

# 2. Start your app on any port, then connect it
airport connect --port 3000

# → Your app is live at https://cool-wave-4821.airport.so
```

## Commands

### Connect — Instant public URLs

#### `airport connect --port <port> [--slug <slug>]`

Make a locally running app public instantly. Your app gets a URL like `https://my-app.airport.so`.

```bash
# Connect port 3000 with auto-generated slug
airport connect --port 3000

# Connect with a custom slug
airport connect --port 8080 --slug my-api
```

The connection stays live as long as the CLI is running. Press `Ctrl+C` to disconnect.

**Requirements:** [cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/) must be installed.

#### `airport connections`

List all your active connections.

```bash
airport connections
```

#### `airport disconnect`

Remove the active connection created by `airport connect`.

```bash
airport disconnect
```

### Deploy — Permanent hosting

#### `airport deploy [dir] [--name <name>] [--slug <slug>]`

Bundle and deploy a project permanently.

```bash
# Deploy current directory
airport deploy

# Deploy a specific directory with a custom name
airport deploy ./my-site --name "My Site"
```

#### `airport projects`

List all your projects.

#### `airport status <slug>`

Show the latest deploy status.

#### `airport logs <slug>`

Print the build log for the latest deploy.

### Account

#### `airport register --email <email>`

Create an account and save your API key locally.

```bash
airport register --email you@example.com
```

#### `airport whoami`

Show your account info.

#### `airport logout`

Remove saved credentials.

## Configuration

The CLI stores its config at `~/.airport/config.json`:

```json
{
  "api_key": "sk_live_...",
  "email": "you@example.com"
}
```

## Debugging

Set `DEBUG=1` to see full error stack traces:

```bash
DEBUG=1 airport connect --port 3000
```

## License

MIT