open-index/open-npm huggingface dataset:
npm package: @kopamerchant/connector-sdk2
Description: Kopa connector sdk for NestJS framework
Author: Technology Partnership
Latest version: 0.5.5

<p align="center"><img src="https://avatars1.githubusercontent.com/u/43827489?s=400&u=45ac0ac47d40b6d8f277c96bdf00244c10508aef&v=4"/></p>
<p align="center">
</p>
<h1 align="center">Nestjs Köpa connector SDK</h1>

## Features

- Configure and connect to Köpa connector instance

### Installation

**Yarn**

```bash
yarn add @kopamerchant/connector-sdk
```

**NPM**

```bash
npm install @kopamerchant/connector-sdk --save
```

### Getting Started

To use Köpa connector SDK we need to register module for example in `app.module.ts`

```ts
import { Module } from '@nestjs/common';
import { ConnectorModule } from '@kopamerchant/connector-sdk';

@Module({
imports: [
    ConnectorModule.register({
      password: 'connector_password',
      username: 'connector_username',
      resource: 'connector_resource',
    })
})

export class AppModule {}
```

and run the connector in `app.service.ts`

```ts
import { ConnectorService } from '@kopamerchant/connector-sdk';
import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  constructor(private readonly connectorService: ConnectorService) {
    this.connectorService.bootstrap();
  }
}
```

After the registration connection to Köpa connector instance should be completed and ready for usage.

Example usage in service.

```ts
import { Injectable } from '@nestjs/common';
import { ConnectorService } from '@kopamerchant/connector-sdk';
import { OnEvent } from '@nestjs/event-emitter';

@Injectable()
export class ContentService {
  constructor(private readonly connectorService: ConnectorService) {}

  @OnEvent('merchant.get')
  handleGetMerchantEvent(payload) {
    const message = {
      to: payload.from,
      sagaId: payload.sagaId,
      payload: {
        companyName: 'Company name',
        companyAddress: 'Company address',
        companyPib: 'Company pib',
      },
    };
    this.connectorService.sendGetMerchantResponse(message);
  }
}
```
npm package: @kopano/react-big-calendar
Description: Calendar! with events
Author: Jason Quense
Latest version: 0.22.0

# react-big-calendar

An events calendar component built for React and made for modern browsers (read: IE10+) and uses flexbox over the classic tables-ception approach.

[**DEMO and Docs**](http://intljusticemission.github.io/react-big-calendar/examples/index.html)

Inspired by [Full Calendar](http://fullcalendar.io/).

## Use and Setup

`yarn add react-big-calendar` or `npm install --save react-big-calendar`

Include `react-big-calendar/lib/css/react-big-calendar.css` for styles, and make sure your calendar's container
element has a height, or the calendar won't be visible. To provide your own custom styling, see the [Custom Styling](#custom-styling) topic.

## Starters

- [react-big-calendar](https://github.com/arecvlohe/rbc-starter)
- [react-big-calendar with drag and drop](https://github.com/arecvlohe/rbc-with-dnd-starter)

## Run examples locally

```sh
$ git clone git@github.com:intljusticemission/react-big-calendar.git
$ cd react-big-calendar
$ yarn
$ yarn examples
```

- Open [localhost:3000/examples/index.html](http://localhost:3000/examples/index.html).

### Localization and Date Formatting

`react-big-calendar` includes two options for handling the date formatting and culture localization, depending
on your preference of DateTime libraries. You can use either the [Moment.js](http://momentjs.com/) or [Globalize.js](https://github.com/jquery/globalize) localizers.

Regardless of your choice, you **must** choose a localizer to use this library:

#### Moment.js

```js
import { Calendar, momentLocalizer } from 'react-big-calendar'
import moment from 'moment'

const localizer = momentLocalizer(moment)

const MyCalendar = props => (
  <div>
    <Calendar
      localizer={localizer}
      events={myEventsList}
      startAccessor="start"
      endAccessor="end"
    />
  </div>
)
```

#### Globalize.js v0.1.1

```js
import { Calendar, globalizeLocalizer } from 'react-big-calendar'
import globalize from 'globalize'

const localizer = globalizeLocalizer(globalize)

const MyCalendar = props => (
  <div>
    <Calendar
      localizer={localizer}
      events={myEventsList}
      startAccessor="start"
      endAccessor="end"
    />
  </div>
)
```

## Custom Styling

Out of the box you can include the compiled css files and be up and running. But, sometimes, you may want to style
Big Calendar to match your application styling. For this reason SASS files are included with Big Calendar.

```
  @import 'react-big-calendar/lib/sass/styles';
  @import 'react-big-calendar/lib/addons/dragAndDrop/styles'; // if using DnD
```

SASS implementation provides a `variables` file containing color and sizing variables that you can
update to fit your application. _Note:_ Changing and/or overriding styles can cause rendering issues with your
Big Calendar. Carefully test each change accordingly.

## Join us on Reactiflux Discord

Join us on [Reactiflux Discord](https://discord.gg/uJsgpkC) community under the channel #react-big-calendar if you have any questions.