# cycle-notification-most-driver

> A Cycle.js driver that displays Humane notifications, to be used with most-run

Latest version **0.0.5** (published 2016-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install cycle-notification-most-driver
pnpm add cycle-notification-most-driver
yarn add cycle-notification-most-driver
bun add cycle-notification-most-driver
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2016-09-07 |
| First published | 2016-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Giovanni T. Parra |
| Maintainers | fiatjaf |
| Keywords | cycle, cyclejs, humane, most, driver, notification |

## Links

- npm: https://www.npmjs.com/package/cycle-notification-most-driver
- Repository: https://github.com/fiatjaf/cycle-notification-most-driver
- Homepage: https://github.com/fiatjaf/cycle-notification-most-driver#readme
- Issues: https://github.com/fiatjaf/cycle-notification-most-driver/issues
- npm.io page: https://npm.io/package/cycle-notification-most-driver

## Dependencies (2)

- [humane-js](https://npm.io/package/humane-js.md) *
- [fg-loadcss](https://npm.io/package/fg-loadcss.md) ^1.2.0

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2016-09-07
- 0.0.4 — 2016-07-10
- 0.0.3 — 2016-06-24
- 0.0.2 — 2016-06-24
- 0.0.1 — 2016-06-22

## README

This is a driver for all your [pure-most Cycle apps](https://github.com/cyclejs/most-run) (think [Motorcycle](https://github.com/motorcyclejs/core#merging-with-cyclejs)) displays [humane.js](http://wavded.github.io/humane-js/) notifications.

You don't have to include any CSS for humane.js themes, they will be loaded asynchronously from cdnjs.

### Install

```
npm install --save cycle-notification-most-driver
```


### Use

```javascript
import most from 'most'
import Cycle from '@cycle/most-run'
import {makeNotificationDriver} from 'cycle-notification-most-driver'

Cycle.run(app, {
  NOTIFICATION: makeNotificationDriver({
    timeout: 4000,
    baseCls: 'humane-bigbox'
  })
})

function app () {
  return {
    NOTIFICATION: most.from([
      'normal notification',
      ['info notification', 'info'],
      ['error notification with custom opts', 'error', {timeout: 8000}],
      ['custom', {addnCls: 'custom-class'}],
      {text: 'this works too', timeout: 1000, clickToClose: true}
    ])
  }
}
```

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