open-index/open-npm huggingface dataset:
npm package: @morlay/my-rx-addons
Description: Automate generate `rxjs/add/*/*` imports by TypeScript codes
Latest version: 0.5.0

## 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`;
npm package: @morlay/redux-actions
Description: Enhancement for `redux-actions`
Author: Morlay Null
Latest version: 0.2.0

# redux actions

Enhancement for `redux-actions`

[![Build Status](https://img.shields.io/travis/morlay/redux-actions.svg?style=flat-square)](https://travis-ci.org/morlay/redux-actions)
[![NPM](https://img.shields.io/npm/v/@morlay/redux-actions.svg?style=flat-square)](https://npmjs.org/package/@morlay/redux-actions)
[![Dependencies](https://img.shields.io/david/morlay/redux-actions.svg?style=flat-square)](https://david-dm.org/morlay/redux-actions)

## APIs

### `createAction(type, payloadCreator = Identity, ?metaCreator)`

Usage like [`redux-actions#createAction`](https://github.com/acdlite/redux-actions#createactiontype-payloadcreator--identity-metacreator)
but will overwrite `.toString()` to the actionCreator, 
`toString()` will return actionType

### `handleActions(reducerMap, ?defaultState)`

Usage like [`redux-actions#handleActions`](https://github.com/acdlite/redux-actions#handleactionsreducermap-defaultstate),
but callback of handler will be `(state, payload, meta) => ()` instead of `(state, action)`

### `buildCreateAction(actionStatusTypes): createAction`

for build multiple status action creator


## Examples

```js
import {
  buildCreateAction,
  createAction,
  handleActions,
} from '@morlay/redux-actions';

const createMultiAction = buildCreateAction({
    success: (type) => `${type}_SUCCESS`,
    failed: (type) => `${type}_FAILED`,
});

const syncAction = createAction('syncAction');
const asyncAction = createMultiAction('asyncAction');

const reducer = handleActions({
    [syncAction]: ({ counter }, payload) => ({
        counter: payload,
    }),
    [asyncAction.success]: ({ counter }, payload) => ({
        counter: counter + payload,
    }),
});
```
npm package: @morlay/redux-bootstrap
Description: Bootstrap for my web redux react projects
Author: Morlay Null
Latest version: 0.0.1

## Redux Bootstrap

Bootstrap for my web redux react projects

[![Build Status](https://img.shields.io/travis/morlay/redux-bootstrap.svg?style=flat-square)](https://travis-ci.org/morlay/redux-bootstrap)
[![NPM](https://img.shields.io/npm/v/@morlay/redux-bootstrap.svg?style=flat-square)](https://npmjs.org/package/@morlay/redux-bootstrap)
[![Dependencies](https://img.shields.io/david/morlay/redux-bootstrap.svg?style=flat-square)](https://david-dm.org/morlay/redux-bootstrap)

### Grouped Packages

* react
* react-dom
* redux
* react-router
* react-router-redux
* react-redux
* recompose
* lodash

### Extra APIs

### `bootstrap: Promise`

```js
bootstrap({
  history,
  location: ReactRouterLocation,
  getRoutes: (store) => ReactRouterPlainRoute,
  
  reducers: Object, // optional
  middlewares: Array,  // optional
  composes: Array, // optional
  initialState,
})
.then(({ redirectLocation, ...renderProps }) => {
  // do render in browser or server-side
})
```

same as [react-router#mactch](https://github.com/reactjs/react-router/blob/master/docs/API.md#match-routes-location-history-options--cb)
but return Promise resolve `{ [renderProps], [redirectLocation] }` and reject `err`

* `store` and `history` must be passed for `react-router-redux#syncHistoryWithStore`

### `<RouterProvider {...renderProps} client/>`

### `connectStateProps(mapStateToProps)` and `connectDispatchProps(mapDispatchToProps)`

same as `react-redux#connect` but simplify args.
 
* `mergeProps` could use `recompose#mapProps` instead. 
 
### `withRouting(Component)`

provide `{ routing }` in props,