# syn-core

> Base libs for syn modules: events, dom builders, helpers, translations...

Latest version **1.0.10** (published 2016-12-29) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install syn-core
pnpm add syn-core
yarn add syn-core
bun add syn-core
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2016-12-29 |
| First published | 2016-04-20 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+8 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | David Almeida |
| Maintainers | davidbarna |

## Links

- npm: https://www.npmjs.com/package/syn-core
- Repository: https://github.com/soyundev/syn-core
- Homepage: https://github.com/soyundev/syn-core#readme
- Issues: https://github.com/soyundev/syn-core/issues
- npm.io page: https://npm.io/package/syn-core

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) 4.5.0
- [pubsub](https://npm.io/package/pubsub.md) git+https://github.com/azer/pubsub.git
- [bluebird](https://npm.io/package/bluebird.md) 3.3.3

## Recent versions

- 1.0.10 (latest) — 2016-12-29
- 1.0.9 — 2016-10-31
- 1.0.8 — 2016-10-15
- 1.0.7 — 2016-08-07
- 1.0.6 — 2016-07-11
- 1.0.5 — 2016-05-13
- 1.0.3 — 2016-04-27
- 1.0.2 — 2016-04-20
- 1.0.1 — 2016-04-20
- 1.0.0 — 2016-04-20

## README

# syn-core
Base libs for syn modules: events, dom builders, helpers, translations...


## Services

### Messaging
`MesssagingUiInterface` is provided to allow any external lib to create and set global ui messaging service.

```js
//my-ui-service.es
import core from 'syn-core'

class MyUiMessagingService extends core.messaging.ui.interface

  confirm () {
    window.alert(options.title)
  }

```

```js

//index.es
import { Messaging } from 'syn-core'
import MyUiMessagingService from './my-ui-service'

Messaging.getInstance().setUIService(new MyUiMessagingService() )

```

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