# @beisen-cmps/feature-utils

> ## CHANGE_LOG

Latest version **2.0.6** (published 2019-07-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-cmps/feature-utils
pnpm add @beisen-cmps/feature-utils
yarn add @beisen-cmps/feature-utils
bun add @beisen-cmps/feature-utils
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.6 |
| Published | 2019-07-26 |
| First published | 2019-01-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 36.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | beisencorp |

## Links

- npm: https://www.npmjs.com/package/@beisen-cmps/feature-utils
- Repository: git@gitlab.beisencorp.com:italent/feature-utils
- npm.io page: https://npm.io/package/@beisen-cmps/feature-utils

## Recent versions

- 2.0.6 (latest) — 2019-07-26
- 2.0.0-cjs (cjs) — 2019-01-28
- 2.0.5 — 2019-05-27
- 2.0.4 — 2019-05-27
- 2.0.3 — 2019-05-09
- 2.0.2 — 2019-05-09
- 2.0.1 — 2019-04-24
- 2.0.0 — 2019-02-20
- 1.1.0 — 2019-01-29
- 1.0.4 — 2019-01-21
- 1.0.3 — 2019-01-21
- 1.0.2 — 2019-01-21
- 1.0.1 — 2019-01-10
- 1.0.0 — 2019-01-10

## README

# feature-utils

## CHANGE_LOG

### 2.0.4

* 扩展消息类型

### 2.0.2

* 新增消息类型：meetingSettingGuide 会议室设置引导弹层

### 2.0.1 

- 跟随SDK更新而更新

### 2.0.0

-   调用时追加`messageType`参数，用于标识消息类型，可扩展，目前支持的是任务推屏,如果不传该参数的话，则默认为原有的打赏/祝福消息

```javascript
import featureUtils, { messageType } from "@beisen-cmps/feature-utils";
featureUtils.call({
    messageType: messageType.taskDrawer,
    functionName: "open",//方法名
    params:{}//推屏需要的参数
});
```

### 1.1.0

-   更改`lib`命令，编译为`commonjs`模块

### 1.0.4

-   非回传类型的消息，不调用回调

### 1.0.3

-   构建方式改为`global`

### 1.0.2

-   构建 stnew 资源

## 引入方式

-   npm 包

```
npm install @beisen-cmps/feature-utils -S
```

-   stnew 资源

路径格式：

```
http://stnew03.beisen.com/ux/upaas/beisen-cmps-feature-utils/release/dist/main-${版本号}.min.js

window._feature_utils
```

[文档地址](https://wiki.beisen.co/pages/viewpage.action?pageId=70779561)

---
_Source: https://npm.io/package/@beisen-cmps/feature-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
