https://github.com/madmages/chrome-extrx
Reactive chrome extension API
https://github.com/madmages/chrome-extrx
chrome chrome-extension reactive rxjs
Last synced: about 2 months ago
JSON representation
Reactive chrome extension API
- Host: GitHub
- URL: https://github.com/madmages/chrome-extrx
- Owner: madmages
- License: mit
- Created: 2018-12-09T11:50:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-12T21:32:22.000Z (over 7 years ago)
- Last Synced: 2025-09-23T08:59:55.108Z (9 months ago)
- Topics: chrome, chrome-extension, reactive, rxjs
- Language: TypeScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## What for?
It makes [Chrome extension API](https://developer.chrome.com/extensions/api_index) reactive a bit. Powered by [RxJS](https://rxjs-dev.firebaseapp.com/)
## Example
Before this library...
```javascript
chrome.tabs.onCreated.addListener(tab => {
// some magic
});
```
After...
```typescript
import {Tabs} from 'chrome-extrx'
Tabs.onCreated().subscribe(tab => {
// some magic
})
```
## Instaling
```
npm install chrome-extrx
```
## License
MIT