open-index/open-npm huggingface dataset:
npm package: @mibjs/ctrip-apollo-client
Description: 携程配置中心 Apollo 客户端Node.js版本
Author: Lee
Latest version: 1.0.2

🌈🌈🌈 这是用Node.js编写的Apollo（配置中心）客户端

扫码进交流群

<img width="274" alt="image" src="https://user-images.githubusercontent.com/16065346/155824680-8b0e0662-3416-4c20-856d-01f4d3078a87.png">


## Introduction

[Apollo（阿波罗）](https://github.com/ctripcorp/apollo)是携程框架部门研发的分布式配置中心，能够集中化管理应用不同环境、不同集群的配置，配置修改后能够实时推送到应用端，并且具备规范的权限、流程治理等特性，适用于微服务配置管理场景。

**本项目为Node.js 客户端,工作原理如下：**

![图裂了，看 assets/README/img.png](assets/README/img.png)
配置中心配置以点分隔如 `mysql.host:127.0.0.1`  ,客户端会自动转化为Json 
```
{ mysql:{ host: 127.0.0.1 } } }
```


## apollo 服务端测试环境:
Examples 使用下面的环境作为测试服务，可直接运行。

* host: http://106.54.227.205/
* 账号: `apollo`
* 密码: `admin`

## Features
* 配置热更新
* 缓存配置到本地
* 灰度发布
* 支持 TypeScript

## Install

`npm i @lvgithub/ctrip-apollo-client`

## Links

* [Install](https://www.npmjs.com/package/@lvgithub/ctrip-apollo-client)
* [Getting Started](https://github.com/lvgithub/ctrip-apollo-client/blob/master/docs/GettingStarted.md)
* [API  Reference](https://github.com/lvgithub/ctrip-apollo-client/blob/master/docs/API.MD)

## Examples

* [js-demo](https://github.com/lvgithub/ctrip-apollo-client/blob/master/example/js-demo)

* [ts-demo](https://github.com/lvgithub/ctrip-apollo-client/tree/master/example/ts-demo)

* [koa-demo](https://github.com/lvgithub/ctrip-apollo-client/blob/master/example/koa-demo)

## Benchmark
| 注入方式            | 性能                    | 用例数          |
| ------------------- | ----------------------- | --------------- |
| 不热更新            | **736,896,802** ops/sec | 82 runs sampled |
| 热更新 `hotValue()` | **2,021,310** ops/sec   | 87 runs sampled |
| 热更新 `@value`     | **2,161,312** ops/sec   | 87 runs sampled |
| 原生访问            | **704,644,395** ops/sec | 82 runs sampled |

## [License](https://github.com/lvgithub/ctrip-apollo-client/blob/master/LICENSE)

MIT
npm package: @mibjs/cubes
Description: A react block-style editor library developed with lexical
Latest version: 0.0.2

# lexical-editor

[![NPM version](https://img.shields.io/npm/v/lexical-editor.svg?style=flat)](https://npmjs.org/package/lexical-editor)
[![NPM downloads](http://img.shields.io/npm/dm/lexical-editor.svg?style=flat)](https://npmjs.org/package/lexical-editor)

A react library developed with dumi

## Usage

TODO

## Options

TODO

## Development

```bash
# install dependencies
$ yarn install

# develop library by docs demo
$ yarn start

# build library source code
$ yarn run build

# build library source code in watch mode
$ yarn run build:watch

# build docs
$ yarn run docs:build

# check your project for potential problems
$ yarn run doctor
```

## LICENSE

MIT
npm package: @mibjs/lexical-editor
Description: A react library developed with dumi
Latest version: 0.0.4

# lexical-editor

[![NPM version](https://img.shields.io/npm/v/lexical-editor.svg?style=flat)](https://npmjs.org/package/lexical-editor)
[![NPM downloads](http://img.shields.io/npm/dm/lexical-editor.svg?style=flat)](https://npmjs.org/package/lexical-editor)

A react library developed with dumi

## Usage

TODO

## Options

TODO

## Development

```bash
# install dependencies
$ yarn install

# develop library by docs demo
$ yarn start

# build library source code
$ yarn run build

# build library source code in watch mode
$ yarn run build:watch

# build docs
$ yarn run docs:build

# check your project for potential problems
$ yarn run doctor
```

## LICENSE

MIT
npm package: @mibjs/plugin-api-service
Description: @mibjs/plugin-api-service
Latest version: 3.0.1

# @mibjs/plugin-api-service-service

> @mibjs/plugin-api-service.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-api-service
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-api-service --dev
```
npm package: @mibjs/plugin-deploy
Description: @mibjs/plugin-deploy
Latest version: 1.1.0

# @mibjs/plugin-deploy

> @mibjs/plugin-deploy.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-deploy
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-deploy --dev
```
npm package: @mibjs/plugin-mf
Description: @mibjs/plugin-mf
Latest version: 2.10.2

# @mibjs/plugin-mf

> @mibjs/plugin-mf.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-mf
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-mf --dev
```

## Useage

### Example

app.tsx

```typescript
const SSORightContent = React.lazy(() => import('sso/RightContent'));

const RightContent = (props: any) => (
  <React.Suspense fallback="Loading...">
    <SSORightContent {...props} />
  </React.Suspense>
);

export const layout: RunTimeLayoutConfig = ({
  initialState,
  setInitialState,
}) => {
  return {
    rightContentRender: () => (
      <RightContent
        history={history}
        initialState={initialState}
        setInitialState={setInitialState}
      />
    ),
  };
};
```

typing.d.ts

```typescript
declare module 'sso/*';
```
npm package: @mibjs/plugin-monitoring
Description: @mibjs/plugin-monitoring
Latest version: 1.4.0

# @mibjs/plugin-monitoring

> @mibjs/plugin-monitoring.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-monitoring
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-monitoring --dev
```
npm package: @mibjs/plugin-sso
Description: @mibjs/plugin-sso
Latest version: 2.1.0

# @mibjs/plugin-sso

> @mibjs/plugin-sso.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-sso
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-sso --dev
```
npm package: @mibjs/plugin-theme
Description: @mibjs/plugin-theme
Latest version: 1.1.1

# @mibjs/plugin-theme

> @mibjs/plugin-theme.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-theme
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-theme --dev
```
npm package: @mibjs/plugin-ui-helper
Description: @mibjs/plugin-ui-helper
Latest version: 2.1.0

# @mibjs/plugin-ui-helper

> @mibjs/plugin-ui-helper.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/plugin-ui-helper
```

or using yarn:

```bash
$ yarn add @mibjs/plugin-ui-helper --dev
```
npm package: @mibjs/preset-react
Description: @mibjs/preset-react
Latest version: 2.5.5

# @mibjs/preset-react

> @mibjs/preset-react.

## Install

Using npm:

```bash
$ npm install --save-dev @mibjs/preset-react
```

or using yarn:

```bash
$ yarn add @mibjs/preset-react --dev
```