https://github.com/extend-chrome/events-rxjs
RxJS Observables for Chrome API events
https://github.com/extend-chrome/events-rxjs
Last synced: 11 months ago
JSON representation
RxJS Observables for Chrome API events
- Host: GitHub
- URL: https://github.com/extend-chrome/events-rxjs
- Owner: extend-chrome
- License: mit
- Created: 2019-04-01T14:26:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-16T21:10:35.000Z (over 5 years ago)
- Last Synced: 2025-05-08T01:37:28.304Z (about 1 year ago)
- Language: TypeScript
- Size: 358 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@extend-chrome/events-rxjs
[](https://www.npmjs.com/package/@extend-chrome/events-rxjs)
[](https://github.com/extend-chrome/events-rxjs)
[](/LICENSE)
[](#typescript)
[](https://ko-fi.com/jacksteam)
[](https://www.youtube.com/channel/UCVj3dGw75v8aHFYD6CL1tFg)
---
# RxJS Observables for Chrome API events
## Table of Contents
- [Getting Started](#getting_started)
- [Usage](#usage)
You will need to use a bundler like
[Rollup](https://rollupjs.org/guide/en/), Parcel, or Webpack to
include this library in the build of Chrome extension.
See [`rollup-plugin-chrome-extension`](https://github.com/extend-chrome/rollup-plugin-chrome-extension) for
an easy way use Rollup to build your Chrome extension!
### Installation
```sh
npm i @extend-chrome/events-rxjs
```
```javascript
import { contextMenus } from '@extend-chrome/events-rxjs'
contextMenus.clickStream.subscribe((clickEvent) => {
console.log('click', clickEvent)
})
```
