https://github.com/morlay/my-rx-addons
https://github.com/morlay/my-rx-addons
rxjs typescript
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/morlay/my-rx-addons
- Owner: morlay
- Created: 2017-03-27T14:13:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T08:40:38.000Z (over 8 years ago)
- Last Synced: 2025-11-20T04:03:09.160Z (7 months ago)
- Topics: rxjs, typescript
- Language: TypeScript
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## My Rx Addons
Automate generate `rxjs/add/*/*` imports by TypeScript codes
### Usage
#### By CLI
```
npm i -g @morlay/my-rx-addons
```
```
my-rx-addons src2/** src1/** -o my-rx-addons.ts
```
### By API
```js
import { RxScanner } from "@morlay/my-rx-addons";
RxScanner
.create()
.scan("src2/**", "src1/**")
.output("my-rx-addons.ts")
```
### Know Issues
* Not support alias like `flatMap`
* `Subject.create` or other static create method will broken because of `Subject.create` return type of `Function`;