open-index/open-npm huggingface dataset:
npm package: @kobionic/eslint-config-typescript
Description: Because code style matters.
Author: Jeremie Rodriguez
Latest version: 4.0.3

# ESLint Config TypeScript

[![npm version](https://img.shields.io/npm/v/@kobionic/eslint-config-typescript.svg?style=flat)](https://www.npmjs.com/package/@kobionic/eslint-config-typescript)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

Because code style matters.

## Installation

```sh
npm install @kobionic/eslint-config-typescript
```

## Usage

```javascript
// .eslintrc.js
module.exports = {
  extends: ['@kobionic/eslint-config-typescript'],
};
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/eslint-config-typescript-react
Description: Because code style matters, with React too.
Author: Jeremie Rodriguez
Latest version: 2.0.3

# ESLint Config TypeScript React

[![npm version](https://img.shields.io/npm/v/@kobionic/eslint-config-typescript-react.svg?style=flat)](https://www.npmjs.com/package/@kobionic/eslint-config-typescript-react)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

Because code style matters, with React too.

## Installation

```sh
npm install @kobionic/eslint-config-typescript-react
```

## Usage

```javascript
// .eslintrc.js
module.exports = {
  extends: ['@kobionic/eslint-config-typescript-react'],
};
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/koa-body-filter
Description: A Koa middleware to filter response body depending on query parameters.
Author: Jeremie Rodriguez
Latest version: 2.0.2

# Koa Body Filter

[![npm version](https://img.shields.io/npm/v/@kobionic/koa-body-filter.svg?style=flat)](https://www.npmjs.com/package/@kobionic/koa-body-filter)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

A [Koa](https://koajs.com) middleware to filter response body depending on query parameters.

## Installation

```sh
npm install @kobionic/koa-body-filter
```

## Usage

```typescript
import bodyFilter from '@kobionic/koa-body-filter';
import Koa from 'koa';

const app = new Koa();
app.use(bodyFilter());
app.listen();
```

## Run Tests

```sh
npm test
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/koa-error-handler
Description: A Koa middleware formatting response when an error occurs in the middleware chain.
Author: Jeremie Rodriguez
Latest version: 2.0.2

# Koa Error Handler

[![npm version](https://img.shields.io/npm/v/@kobionic/koa-error-handler.svg?style=flat)](https://www.npmjs.com/package/@kobionic/koa-error-handler)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

A [Koa](https://koajs.com) middleware formatting response when an error occurs in the middleware chain.

## Installation

```sh
npm install @kobionic/koa-error-handler
```

## Usage

```typescript
import errorHandler from '@kobionic/koa-error-handler';
import Koa from 'koa';

const app = new Koa();
app.use(errorHandler());
app.listen();
```

## Run Tests

```sh
npm test
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/koa-joi-validator
Description: A Koa middleware to validate given part of a request against a Joi schema.
Author: Jeremie Rodriguez
Latest version: 2.0.2

# Koa Joi Validator

[![npm version](https://img.shields.io/npm/v/@kobionic/koa-joi-validator.svg?style=flat)](https://www.npmjs.com/package/@kobionic/koa-joi-validator)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

A [Koa](https://koajs.com) middleware to validate given part of a request against a Joi schema.

## Installation

```sh
npm install @kobionic/koa-joi-validator
```

## Usage

```typescript
import joiValidator from '@kobionic/koa-joi-validator';
import Koa from 'koa';

const app = new Koa();
app.use(
  joiValidator({
    body: Joi.object().keys({
      email: Joi.string().email().required(),
      password: Joi.string().min(8).max(128).required(),
    }),
  }),
);
app.listen();
```

## Run Tests

```sh
npm test
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/logger
Description: Nothing new here, just a customized logger. Btw, thank you Winston.
Author: Jeremie Rodriguez
Latest version: 5.0.2

# Logger

[![npm version](https://img.shields.io/npm/v/@kobionic/logger.svg?style=flat)](https://www.npmjs.com/package/@kobionic/logger)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

Nothing new here, just a customized logger. Btw, thank you [Winston](https://github.com/winstonjs/winston).

## Installation

```sh
npm install @kobionic/logger
```

## Usage

```typescript
import logger from '@kobionic/logger';
import Koa from 'koa';

logger.info('Hi there!');
const app = new Koa();
app.use(logger.getHttpLogger('koa'));
```

## Configuration

Configuration of the logger is done using environment variables. Available variables are described below:

| Variable                      | Type    | Default                                       | Description                                                    |
| ----------------------------- | ------- | --------------------------------------------- | -------------------------------------------------------------- |
| `FORCE_COLOR`                 | number  | 1                                             | removes colorization from logging output if set to 0           |
| `LOGGER_CORRELATION_ID`       | string  | _randomly generated_                          | overrides randomly generated logger correlation ID             |
| `LOGGER_DIR`                  | string  | ./logs                                        | sets log file(s) directory                                     |
| `LOGGER_LEVEL`                | string  | info                                          | sets logging level (debug \| error \| info \| none)            |
| `LOGGER_NAME`                 | string  | _[application name]-[YYYY-MM-DD].[json\|log]_ | overrides dynamically generated log file name                  |
| `LOGGER_PRINT_CORRELATION_ID` | boolean | false                                         | adds correlation ID to the logging output if set to true       |
| `LOGGER_WRITE_TO_FILE`        | boolean | false                                         | writes logging output to a .json and .log files if set to true |

## Run Tests

```sh
npm test
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/logger-transport-websocket
Description: Just a WebSocket transport for Winston, nothing much.
Author: Jeremie Rodriguez
Latest version: 2.0.2

# Logger Transport WebSocket

[![npm version](https://img.shields.io/npm/v/@kobionic/logger-transport-websocket.svg?style=flat)](https://www.npmjs.com/package/@kobionic/logger-transport-websocket)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/node-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
[![Build status](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/node-packages/badges/master/pipeline.svg)

Just a WebSocket transport for [Winston](https://github.com/winstonjs/winston), nothing much.

## Installation

```sh
npm install @kobionic/logger-transport-websocket
```

## Usage

```typescript
import logger from '@kobionic/logger';
import WebsocketTransport from '@kobionic/logger-transport-websocket';
import http from 'http';

const server = http.createServer();
logger.add(new WebsocketTransport(server, 'message'));
server.listen(3000);
```

## Run Tests

```sh
npm test
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](../../LICENSE) file for details.
npm package: @kobionic/react-compose
Description: A simple React component used to combine multiple components.
Author: Jeremie Rodriguez
Latest version: 1.0.2

# React-Compose

[![Build status](https://gitlab.com/kobionic/react-packages/badges/master/pipeline.svg)](https://gitlab.com/kobionic/react-packages/badges/master/pipeline.svg)
[![npm version](https://img.shields.io/npm/v/@kobionic/react-compose.svg?style=flat)](https://www.npmjs.com/package/@kobionic/react-compose)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://gitlab.com/kobionic/react-packages/blob/master/LICENSE)
[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)

A simple [React](https://reactjs.org) component used to combine multiple components.

## Installation

```sh
npm install @kobionic/react-compose
```

## Why?

```js
const App = () => {
  return (
    <AProvider>
      <BProvider>
        <CProvider>
          <DProvider>
            <EProvider>
              <MyPage />
            </AProvider>
          </BProvider>
        </CProvider>
      </DProvider>
    </EProvider>
  );
};
```

Tired of this? Ok that can lead to nice art, but that's not really the point...

## Usage

```js
const App = () => {
  return (
    <Compose components={[AProvider, BProvider, CProvider, DProvider, EProvider]}>
      <MyPage />
    </Compose>
  );
};
```

## Passing props

```js
const App = () => {
  return (
    <Compose components={[AProvider, { component: BProvider, props: bProviderProps }, CProvider, DProvider, EProvider]}>
      <MyPage />
    </Compose>
  );
};
```

## Authors

- [**Jeremie Rodriguez**](https://gitlab.com/jeremiergz) &lt;[jeremie.rodriguez@kobionic.com](mailto:jeremie.rodriguez@kobionic.com)&gt; - Main developer

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](https://gitlab.com/kobionic/react-packages/blob/master/LICENSE) file for details.