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

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

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