# taldetectface

> > Custom event/messaging system for JavaScript.you can addListener and publish your event/messaging. > 观察者工具，你可以自定义注册和发布事件消息

Latest version **1.0.0** (published 2018-12-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install taldetectface
pnpm add taldetectface
yarn add taldetectface
bun add taldetectface
```

## 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 | 1.0.0 |
| Published | 2018-12-28 |
| First published | 2018-12-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | axlroseart |

## Links

- npm: https://www.npmjs.com/package/taldetectface
- npm.io page: https://npm.io/package/taldetectface

## Recent versions

- 1.0.0 (latest) — 2018-12-28

## README

# team-js-signals

> Custom event/messaging system for JavaScript.you can addListener and publish your event/messaging.
> 观察者工具，你可以自定义注册和发布事件消息

#### Build Setup
# install dependencies
npm i team-js-signals

#### Readme
```javascript
html/js中使用
1. import TeamJsSignal from 'team-js-signals'
2. var signals = new teamSignals()
3. signals.addListener('test', function(data){
      console.log('signals test', data)
  })
4. signals.publish('test', data)

Vue全局使用
1. import TeamJsSignal from 'team-js-signals'
2. var signals = new TeamJsSignal()
3. Vue.mixin({
  data:function() {
    return {
      signals: mySignals
    }
  }
})

4.注册事件
this.signals.addListener('test', function(data){
      console.log('signals test', data)
  })
5. 发布事件
  this.signals.publish('test', data)

```

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