Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacksteamdev/rxjs-log

Easily log RxJS Observables to the console with this operator
https://github.com/jacksteamdev/rxjs-log

Last synced: 14 days ago
JSON representation

Easily log RxJS Observables to the console with this operator

Awesome Lists containing this project

README

        

# `@bumble/rxjs-log`

A simple console.log operator to use with RxJs. Now includes types!

# Install

```sh
npm i @bumble/rxjs-log -D
```

# Usage

```javascript
import { log } from '@bumble/rxjs-log'

fromEvent(document, 'click')
.pipe(log('document clicked'))
.subscribe()

// -> document clicked { MouseEvent... }
```