# ishop-ai-assistant

> Ishop specific AI assistant (under development...)

Latest version **1.1.26** (published 2025-01-20) · 0 weekly downloads

## Install

```sh
npm install ishop-ai-assistant
pnpm add ishop-ai-assistant
yarn add ishop-ai-assistant
bun add ishop-ai-assistant
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.26 |
| Published | 2025-01-20 |
| First published | 2024-01-24 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 11.6 MB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| Author | lidazhuang |
| Maintainers | not_name |
| Keywords | ishop-ai-assistant, ishop, ai, assistant |

## Links

- npm: https://www.npmjs.com/package/ishop-ai-assistant
- npm.io page: https://npm.io/package/ishop-ai-assistant

## Dependencies (7)

- [vue](https://npm.io/package/vue.md) ^2.6.14
- [core-js](https://npm.io/package/core-js.md) ^3.8.3
- [clipboard](https://npm.io/package/clipboard.md) ^2.0.11
- [element-ui](https://npm.io/package/element-ui.md) ^2.15.8
- [markdown-it](https://npm.io/package/markdown-it.md) ^13.0.1
- [vue-masonry](https://npm.io/package/vue-masonry.md) ^0.16.0
- [highlight.js](https://npm.io/package/highlight.js.md) ^11.9.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.1.26 (latest) — 2025-01-20
- 1.1.25 — 2024-04-24
- 1.1.24 — 2024-04-23
- 1.1.23 — 2024-04-23
- 1.1.22 — 2024-04-22
- 1.1.21 — 2024-04-22
- 1.1.20 — 2024-03-07
- 1.1.19 — 2024-03-07
- 1.1.18 — 2024-03-07
- 1.1.17 — 2024-03-05
- 1.1.16 — 2024-03-01
- 1.1.15 — 2024-03-01
- 1.1.14 — 2024-02-29
- 1.1.13 — 2024-02-28
- 1.1.12 — 2024-02-28
- … 34 more at https://npm.io/package/ishop-ai-assistant/versions

## README

# ishop-ai-assistant 组件库

### 快速开始

#### 1. 安装

```bash
npm install ishop-ai-assistant --save
```

#### 2. 引入

```js
import Vue from "vue";
import ishopAiAssistant from "ishop-ai-assistant";
import "ishop-ai-assistant/ishop-ai-assistant.css";

Vue.use(ishopAiAssistant.install);
```

#### 3. 使用

```html
<template>
  <div>
    <ishop-ai-assistant v-if="aiAssistantVisible"
                        :env="env"
                        @close="closeAiAssistant"
                        @goBuy="goBuy"></ishop-ai-assistant>
  </div>
</template>

<script>
  export default {
    data() {
      env: 'dev',
      aiAssistantVisible: false,
    },
    methods: {
      // 关闭AI人工智能助手弹窗
      closeAiAssistant() {
          this.aiAssistantVisible = false
      },
      // AI人工智能助手购买续费
      async goBuy() {
          const userTel = JSON.parse(sessionStorage.getItem('userInfo')).TenantMobile
          const uri = await getIshopUri(userTel)
          const devUri = window.location.origin + '/#/'
          const routerMode = process.env.NODE_ENV === 'development' ? devUri : uri
          this.openLink(`${routerMode}buyAndRenewal?userTel=${userTel}`)
      },
    },
  }
</script>
```

---
_Source: https://npm.io/package/ishop-ai-assistant · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
