open-index/open-npm huggingface dataset:
npm package: @react-json-form/bootstrap
Description: > Generate form with ease
Latest version: 0.1.0

# JSON Form
> Generate form with ease

## Installation
```sh
    npm install @react-json-form/bootstrap --save

    # or

    yarn add @react-json-form/bootstrap
```

## Style
You can use both Github `@primer/css` and `bootstrap`, just import them in your project and it will work out of the box :tada:

## Usage
All you need to do is to define a structure, you can easily do it like in the example below:

```ts
import { FormStructure } from '@react-json-form/bootstrap'

interface FormValues {
    firstName: string;
    lastName: string;

    email:string;
}

const structure: FormStructure<FormValues> = [
    [
        {
            label: 'First Name',
            name: 'firstName',
        }, {
            label: 'Last Name',
            name: 'lastName',
        }
    ], [
        {
            label: 'Email',
            name: 'email',
            required: true,
            type: 'email',
            validation: {
                pattern: {
                    message: 'Please enter a valid email',
                    value: /[a-z0-9]@[a-z]\.[a-z]/gi
                }
            }
        }
    ]
]
```
npm package: @react-jsonr/plugin-event-handlers
Description: Event handler mapping plugin for React-JSONR
Author: Saatvik Arya
Latest version: 0.1.0

# React-JSONR Event Handlers Plugin

A plugin for React-JSONR that maps string event handler references to actual functions.

## Installation

```bash
# npm
npm install @react-jsonr/plugin-event-handlers

# yarn
yarn add @react-jsonr/plugin-event-handlers

# pnpm
pnpm add @react-jsonr/plugin-event-handlers
```

## Usage

```tsx
import React from 'react';
import { renderNode, transformJsonTree, createRegistry } from 'react-jsonr';
import { createEventHandlerPlugin } from '@react-jsonr/plugin-event-handlers';

// Define your event handlers
const eventHandlers = {
  submitForm: () => {
    alert('Form submitted!');
  },
  handleChange: (e) => {
    console.log('Input changed:', e.target.value);
  }
};

// Create the event handler plugin
const eventHandlerPlugin = createEventHandlerPlugin({
  handlers: eventHandlers
});

// Define your UI as JSON
const jsonDefinition = {
  type: 'Form',
  props: {
    onSubmit: 'submitForm' // This will be mapped to the actual function
  },
  children: [
    {
      type: 'Input',
      props: {
        type: 'text',
        onChange: 'handleChange' // This will be mapped to the actual function
      }
    }
  ]
};

// Transform the JSON tree with the plugin
const transformed = await transformJsonTree(jsonDefinition, [eventHandlerPlugin]);

// Create a component registry
const registry = createRegistry({
  Form: ({ children, ...props }) => (
    <form {...props}>{children}</form>
  ),
  Input: (props) => <input {...props} />
});

// Render the component
const element = renderNode(transformed, registry);
```

## Options

The `createEventHandlerPlugin` function accepts an options object with the following properties:

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `handlers` | `Record<string, Function>` | (required) | Map of event handler names to functions |
| `prefix` | `string` | `'on'` | Custom prefix for event handler props |
| `warnOnMissing` | `boolean` | `true` | Whether to warn when an event handler is not found |

## Example with Custom Options

```tsx
const eventHandlerPlugin = createEventHandlerPlugin({
  handlers: eventHandlers,
  prefix: 'handle', // Will only transform props starting with 'handle'
  warnOnMissing: false // Silently ignore missing event handlers
});
```

## License

MIT
npm package: @react-jsonr/vite-plugin
Description: Vite plugin to transform JSX/TSX to JSON for react-jsonr
Author: Saatvik Arya
Latest version: 0.2.0

# @react-jsonr/vite-plugin

A Vite plugin that transforms JSX/TSX files into JSON format compatible with react-jsonr.

## Installation

```bash
# npm
npm install @react-jsonr/vite-plugin

# yarn
yarn add @react-jsonr/vite-plugin

# pnpm
pnpm add @react-jsonr/vite-plugin
```

## Usage

Add the plugin to your Vite configuration:

```ts
import { defineConfig } from 'vite';
import reactJsonr from '@react-jsonr/vite-plugin';

export default defineConfig({
  plugins: [
    reactJsonr({
      // Optional configuration
      include: ['**/*.{jsx,tsx}'], // Files to transform
      exclude: ['node_modules/**', 'dist/**'], // Files to skip
      sourcemap: true, // Whether to generate source maps
    }),
  ],
});
```

## Example

Input JSX file (`App.tsx`):
```tsx
function App() {
  return (
    <div className="container">
      <h1>Hello World</h1>
      <p>This is a test</p>
    </div>
  );
}

export default App;
```

Transformed output:
```json
{
  "type": "div",
  "props": {
    "className": "container"
  },
  "children": [
    {
      "type": "h1",
      "props": {},
      "children": ["Hello World"]
    },
    {
      "type": "p",
      "props": {},
      "children": ["This is a test"]
    }
  ]
}
```

## Features

- Transforms JSX/TSX files to JSON format
- Supports nested components
- Handles props and children
- Generates source maps
- Configurable file inclusion/exclusion patterns
- TypeScript support

## License

MIT
npm package: @react-jvectormap/africa
Description: A collection of JvectorMap maps of Africa.
Latest version: 1.0.1

# @react-jvectormap/africa

A collection of JvectorMap maps of Africa.

Available Maps:

- africaMill
- africaMerc

## Installation:

```
    yarn add @react-jvectormap/africa
```

or:

```
    npm install --save @react-jvectormap/africa
```

## Usage

```
    import { africaMill } from '@react-jvectormap/africa';
```

or:

```
    import africaMill from '@react-jvectormap/africa/dist/africaMill';
```
npm package: @react-jvectormap/algeria
Description: A collection of JvectorMap maps of Algeria.
Latest version: 1.0.1

# @react-jvectormap/algeria

A collection of JvectorMap maps of Algeria.

Available Maps:

- dzMill

## Installation:

```
    yarn add @react-jvectormap/algeria
```

or:

```
    npm install --save @react-jvectormap/algeria
```

## Usage

```
    import { dzMill } from '@react-jvectormap/algeria';
```

or:

```
    import dzMill from '@react-jvectormap/algeria/dist/dzMill';
```
npm package: @react-jvectormap/argentina
Description: A collection of JvectorMap maps of Argentina.
Latest version: 1.0.1

# @react-jvectormap/argentina

A collection of JvectorMap maps of Argentina.

Available Maps:

- arMill
- arMerc

## Installation:

```
    yarn add @react-jvectormap/argentina
```

or:

```
    npm install --save @react-jvectormap/argentina
```

## Usage

```
    import { arMill } from '@react-jvectormap/argentina';
```

or:

```
    import arMill from '@react-jvectormap/argentina/dist/arMill';
```
npm package: @react-jvectormap/asia
Description: A collection of JvectorMap maps of Asia.
Latest version: 1.0.1

# @react-jvectormap/asia

A collection of JvectorMap maps of Asia.

Available Maps:

- asiaMill
- asiaMerc

## Installation:

```
    yarn add @react-jvectormap/asia
```

or:

```
    npm install --save @react-jvectormap/asia
```

## Usage

```
    import { asiaMill } from '@react-jvectormap/asia';
```

or:

```
    import asiaMill from '@react-jvectormap/asia/dist/asiaMill';
```
npm package: @react-jvectormap/australia
Description: A collection of JvectorMap maps of Australia.
Latest version: 1.0.1

# @react-jvectormap/australia

A collection of JvectorMap maps of Australia.

Available Maps:

- auMill
- auMerc

## Installation:

```
    yarn add @react-jvectormap/australia
```

or:

```
    npm install --save @react-jvectormap/australia
```

## Usage

```
    import { auMill } from '@react-jvectormap/australia';
```

or:

```
    import auMill from '@react-jvectormap/australia/dist/auMill';
```
npm package: @react-jvectormap/austria
Description: A collection of JvectorMap maps of Austria.
Latest version: 1.0.1

# @react-jvectormap/austria

A collection of JvectorMap maps of Austria.

Available Maps:

- atMill
- atMerc

## Installation:

```
    yarn add @react-jvectormap/austria
```

or:

```
    npm install --save @react-jvectormap/austria
```

## Usage

```
    import { atMill } from '@react-jvectormap/austria';
```

or:

```
    import atMill from '@react-jvectormap/austria/dist/atMill';
```
npm package: @react-jvectormap/belgium
Description: A collection of JvectorMap maps of Belgium.
Latest version: 1.0.1

# @react-jvectormap/belgium

A collection of JvectorMap maps of Belgium.

Available Maps:

- beMill
- beMerc

## Installation:

```
    yarn add @react-jvectormap/belgium
```

or:

```
    npm install --save @react-jvectormap/belgium
```

## Usage

```
    import { beMill } from '@react-jvectormap/belgium';
```

or:

```
    import beMill from '@react-jvectormap/belgium/dist/beMill';
```
npm package: @react-jvectormap/brazil
Description: A collection of JvectorMap maps of Brazil.
Latest version: 1.0.1

# @react-jvectormap/brazil

A collection of JvectorMap maps of Brazil.

Available Maps:

- brMill

## Installation:

```
    yarn add @react-jvectormap/brazil
```

or:

```
    npm install --save @react-jvectormap/brazil
```

## Usage

```
    import { brMill } from '@react-jvectormap/brazil';
```

or:

```
    import brMill from '@react-jvectormap/brazil/dist/brMill';
```
npm package: @react-jvectormap/canada
Description: A collection of JvectorMap maps of Canada.
Latest version: 1.0.1

# @react-jvectormap/canada

A collection of JvectorMap maps of Canada.

Available Maps:

- caMill
- caMerc
- caLcc

## Installation:

```
    yarn add @react-jvectormap/canada
```

or:

```
    npm install --save @react-jvectormap/canada
```

## Usage

```
    import { caMill } from '@react-jvectormap/canada';
```

or:

```
    import caMill from '@react-jvectormap/canada/dist/caMill';
```
npm package: @react-jvectormap/chicago
Description: A collection of JvectorMap maps of Chicago.
Latest version: 1.0.1

# @react-jvectormap/chicago

A collection of JvectorMap maps of Chicago.

Available Maps:

- usIlChicagoMill
- usIlChicagoMerc

## Installation:

```
    yarn add @react-jvectormap/chicago
```

or:

```
    npm install --save @react-jvectormap/chicago
```

## Usage

```
    import { usIlChicagoMill } from '@react-jvectormap/chicago';
```

or:

```
    import usIlChicagoMill from '@react-jvectormap/chicago/dist/usIlChicagoMill';
```
npm package: @react-jvectormap/china
Description: A collection of JvectorMap maps of China.
Latest version: 1.0.1

# @react-jvectormap/china

A collection of JvectorMap maps of China.

Available Maps:

- cnMill
- cnMerc

## Installation:

```
    yarn add @react-jvectormap/china
```

or:

```
    npm install --save @react-jvectormap/china
```

## Usage

```
    import { cnMill } from '@react-jvectormap/china';
```

or:

```
    import cnMill from '@react-jvectormap/china/dist/cnMill';
```
npm package: @react-jvectormap/colombia
Description: A collection of JvectorMap maps of Colombia.
Latest version: 1.0.1

# @react-jvectormap/colombia

A collection of JvectorMap maps of Colombia.

Available Maps:

- coMill
- coMerc

## Installation:

```
    yarn add @react-jvectormap/colombia
```

or:

```
    npm install --save @react-jvectormap/colombia
```

## Usage

```
    import { coMill } from '@react-jvectormap/colombia';
```

or:

```
    import coMill from '@react-jvectormap/colombia/dist/coMill';
```
npm package: @react-jvectormap/continents
Description: A collection of JvectorMap maps of Continents.
Latest version: 1.0.1

# @react-jvectormap/continents

A collection of JvectorMap maps of Continents.

Available Maps:

- continentsMill
- continentsMerc

## Installation:

```
    yarn add @react-jvectormap/continents
```

or:

```
    npm install --save @react-jvectormap/continents
```

## Usage

```
    import { continentsMill } from '@react-jvectormap/continents';
```

or:

```
    import continentsMill from '@react-jvectormap/continents/dist/continentsMill';
```
npm package: @react-jvectormap/denmark
Description: A collection of JvectorMap maps of Denmark.
Latest version: 1.0.1

# @react-jvectormap/denmark

A collection of JvectorMap maps of Denmark.

Available Maps:

- dkMill
- dkMerc

## Installation:

```
    yarn add @react-jvectormap/denmark
```

or:

```
    npm install --save @react-jvectormap/denmark
```

## Usage

```
    import { dkMill } from '@react-jvectormap/denmark';
```

or:

```
    import dkMill from '@react-jvectormap/denmark/dist/dkMill';
```
npm package: @react-jvectormap/europe
Description: A collection of JvectorMap maps of Europe.
Latest version: 1.0.1

# @react-jvectormap/europe

A collection of JvectorMap maps of Europe.

Available Maps:

- europeMill
- europeMerc

## Installation:

```
    yarn add @react-jvectormap/europe
```

or:

```
    npm install --save @react-jvectormap/europe
```

## Usage

```
    import { europeMill } from '@react-jvectormap/europe';
```

or:

```
    import europeMill from '@react-jvectormap/europe/dist/europeMill';
```
npm package: @react-jvectormap/france
Description: A collection of JvectorMap maps of France.
Latest version: 1.0.1

# @react-jvectormap/france

A collection of JvectorMap maps of France.

Available Maps:

- frMill
- frMerc

## Installation:

```
    yarn add @react-jvectormap/france
```

or:

```
    npm install --save @react-jvectormap/france
```

## Usage

```
    import { frMill } from '@react-jvectormap/france';
```

or:

```
    import frMill from '@react-jvectormap/france/dist/frMill';
```
npm package: @react-jvectormap/franceregions
Description: A collection of JvectorMap maps of FranceRegions.
Latest version: 1.0.1

# @react-jvectormap/franceregions

A collection of JvectorMap maps of FranceRegions.

Available Maps:

- frRegionsMill
- frRegionsMerc

## Installation:

```
    yarn add @react-jvectormap/franceregions
```

or:

```
    npm install --save @react-jvectormap/franceregions
```

## Usage

```
    import { frRegionsMill } from '@react-jvectormap/franceregions';
```

or:

```
    import frRegionsMill from '@react-jvectormap/franceregions/dist/frRegionsMill';
```
npm package: @react-jvectormap/franceregions2016
Description: A collection of JvectorMap maps of France Regions 2016.
Latest version: 1.0.1

# @react-jvectormap/franceregions2016

A collection of JvectorMap maps of France Regions 2016.

Available Maps:

- frRegions_2016Mill
- frRegions_2016Merc

## Installation:

```
    yarn add @react-jvectormap/franceregions2016
```

or:

```
    npm install --save @react-jvectormap/franceregions2016
```

## Usage

```
    import { frRegions_2016Mill } from '@react-jvectormap/franceregions2016';
```

or:

```
    import frRegions_2016Mill from '@react-jvectormap/franceregions2016/dist/frRegions_2016Mill';
```
npm package: @react-jvectormap/germany
Description: A collection of JvectorMap maps of Germany.
Latest version: 1.0.1

# @react-jvectormap/germany

A collection of JvectorMap maps of Germany.

Available Maps:

- deMill
- deMerc

## Installation:

```
    yarn add @react-jvectormap/germany
```

or:

```
    npm install --save @react-jvectormap/germany
```

## Usage

```
    import { deMill } from '@react-jvectormap/germany';
```

or:

```
    import deMill from '@react-jvectormap/germany/dist/deMill';
```
npm package: @react-jvectormap/india
Description: A collection of JvectorMap maps of India.
Latest version: 1.0.1

# @react-jvectormap/india

A collection of JvectorMap maps of India.

Available Maps:

- inMill
- inMerc

## Installation:

```
    yarn add @react-jvectormap/india
```

or:

```
    npm install --save @react-jvectormap/india
```

## Usage

```
    import { inMill } from '@react-jvectormap/india';
```

or:

```
    import inMill from '@react-jvectormap/india/dist/inMill';
```
npm package: @react-jvectormap/indonesia
Description: A collection of JvectorMap maps of Indonesia.
Latest version: 2.0.0

# @react-jvectormap/indonesia

A collection of JvectorMap maps of Indonesia.

Available Maps:

- idnMerc

## Installation:

```
    yarn add @react-jvectormap/indonesia
```

or:

```
    npm install --save @react-jvectormap/indonesia
```

## Usage

```
    import { idnMerc } from '@react-jvectormap/indonesia';
```

or:

```
    import idnMerc from '@react-jvectormap/indonesia/dist/idnMerc';
```
npm package: @react-jvectormap/iran
Description: A collection of JvectorMap maps of Iran.
Latest version: 1.0.1

# @react-jvectormap/iran

A collection of JvectorMap maps of Iran.

Available Maps:

- iranMill

## Installation:

```
    yarn add @react-jvectormap/iran
```

or:

```
    npm install --save @react-jvectormap/iran
```

## Usage

```
    import { iranMill } from '@react-jvectormap/iran';
```

or:

```
    import iranMill from '@react-jvectormap/iran/dist/iranMill';
```
npm package: @react-jvectormap/italy
Description: A collection of JvectorMap maps of Italy.
Latest version: 1.0.1

# @react-jvectormap/italy

A collection of JvectorMap maps of Italy.

Available Maps:

- itMill
- itMerc

## Installation:

```
    yarn add @react-jvectormap/italy
```

or:

```
    npm install --save @react-jvectormap/italy
```

## Usage

```
    import { itMill } from '@react-jvectormap/italy';
```

or:

```
    import itMill from '@react-jvectormap/italy/dist/itMill';
```
npm package: @react-jvectormap/italyregions
Description: A collection of JvectorMap maps of ItalyRegions.
Latest version: 1.0.1

# @react-jvectormap/italyregions

A collection of JvectorMap maps of ItalyRegions.

Available Maps:

- itRegionsMill
- itRegionsMerc

## Installation:

```
    yarn add @react-jvectormap/italyregions
```

or:

```
    npm install --save @react-jvectormap/italyregions
```

## Usage

```
    import { itRegionsMill } from '@react-jvectormap/italyregions';
```

or:

```
    import itRegionsMill from '@react-jvectormap/italyregions/dist/itRegionsMill';
```
npm package: @react-jvectormap/jquery-mousewheel
Description: A jQuery plugin that adds cross-browser mouse wheel support.
Author: jQuery Foundation and other contributors
Latest version: 1.0.2

# jQuery Mouse Wheel Plugin

A [jQuery](http://jquery.com/) plugin that adds cross-browser mouse wheel support with delta normalization.

In order to use the plugin, simply bind the `mousewheel` event to an element.

It also provides two helper methods called `mousewheel` and `unmousewheel`
that act just like other event helper methods in jQuery.

The event object is updated with the normalized `deltaX` and `deltaY` properties.
In addition there is a new property on the event object called `deltaFactor`. Multiply
the `deltaFactor` by `deltaX` or `deltaY` to get the scroll distance that the browser
has reported.

Here is an example of using both the bind and helper method syntax:

```js
// using on
$('#my_elem').on('mousewheel', function(event) {
    console.log(event.deltaX, event.deltaY, event.deltaFactor);
});

// using the event helper
$('#my_elem').mousewheel(function(event) {
    console.log(event.deltaX, event.deltaY, event.deltaFactor);
});
```

The old behavior of adding three arguments (`delta`, `deltaX`, and `deltaY`) to the
event handler is now deprecated and will be removed in later releases.


## The Deltas...

The combination of browsers, operating systems, and devices offer a huge range of possible delta values. In fact if the user
uses a trackpad and then a physical mouse wheel the delta values can differ wildly. This plugin normalizes those
values so you get a whole number starting at +-1 and going up in increments of +-1 according to the force or
acceleration that is used. This number has the potential to be in the thousands depending on the device.
Check out some of the data collected from users [here](http://mousewheeldatacollector.herokuapp.com/).

### Getting the scroll distance

In some use-cases we prefer to have the normalized delta but in others we want to know how far the browser should
scroll based on the users input. This can be done by multiplying the `deltaFactor` by the `deltaX` or `deltaY`
event property to find the scroll distance the browser reported.

The `deltaFactor` property was added to the event object in 3.1.5 so that the actual reported delta value can be
extracted. This is a non-standard property.

## Building the code in the repo

```sh
$ git clone git@github.com:jquery/jquery-mousewheel.git
$ cd jquery-mousewheel/
$ npm install
$ npm run build
$ npm run karma
```

The unit tests run by karma are _very_ basic sanity checks; improvements welcome.
To fully test the plugin, load [test/index.html](test/index.html) in each supported
browser and follow the instructions at the top of the file after the unit tests finish.
npm package: @react-jvectormap/netherlands
Description: A collection of JvectorMap maps of Netherlands.
Latest version: 1.0.1

# @react-jvectormap/netherlands

A collection of JvectorMap maps of Netherlands.

Available Maps:

- nlMill
- nlMerc

## Installation:

```
    yarn add @react-jvectormap/netherlands
```

or:

```
    npm install --save @react-jvectormap/netherlands
```

## Usage

```
    import { nlMill } from '@react-jvectormap/netherlands';
```

or:

```
    import nlMill from '@react-jvectormap/netherlands/dist/nlMill';
```
npm package: @react-jvectormap/newyork
Description: A collection of JvectorMap maps of NewYork.
Latest version: 1.0.1

# @react-jvectormap/newyork

A collection of JvectorMap maps of NewYork.

Available Maps:

- usNyNewYorkMill
- usNyNewYorkMerc

## Installation:

```
    yarn add @react-jvectormap/newyork
```

or:

```
    npm install --save @react-jvectormap/newyork
```

## Usage

```
    import { usNyNewYorkMill } from '@react-jvectormap/newyork';
```

or:

```
    import usNyNewYorkMill from '@react-jvectormap/newyork/dist/usNyNewYorkMill';
```
npm package: @react-jvectormap/newzealand
Description: A collection of JvectorMap maps of New Zealand.
Latest version: 1.0.1

# @react-jvectormap/newzealand

A collection of JvectorMap maps of New Zealand.

Available Maps:

- nzMill
- nzMerc

## Installation:

```
    yarn add @react-jvectormap/newzealand
```

or:

```
    npm install --save @react-jvectormap/newzealand
```

## Usage

```
    import { nzMill } from '@react-jvectormap/newzealand';
```

or:

```
    import nzMill from '@react-jvectormap/newzealand/dist/nzMill';
```
npm package: @react-jvectormap/newziland
Description: A collection of JvectorMap maps of NewZiland.
Latest version: 1.0.1
Deprecated: This map is deprecated due to typo, please use @react-jvectormap/newzealand instead

# @react-jvectormap/newziland

A collection of JvectorMap maps of NewZiland.

Available Maps:

- nzMill
- nzMerc

## Installation:

```
    yarn add @react-jvectormap/newziland
```

or:

```
    npm install --save @react-jvectormap/newziland
```

## Usage

```
    import { nzMill } from '@react-jvectormap/newziland';
```

or:

```
    import nzMill from '@react-jvectormap/newziland/dist/nzMill';
```
npm package: @react-jvectormap/northamerica
Description: A collection of JvectorMap maps of North America.
Latest version: 1.0.1

# @react-jvectormap/northamerica

A collection of JvectorMap maps of North America.

Available Maps:

- northAmericaMill
- northAmericaMerc

## Installation:

```
    yarn add @react-jvectormap/northamerica
```

or:

```
    npm install --save @react-jvectormap/northamerica
```

## Usage

```
    import { northAmericaMill } from '@react-jvectormap/northamerica';
```

or:

```
    import northAmericaMill from '@react-jvectormap/northamerica/dist/northAmericaMill';
```
npm package: @react-jvectormap/norway
Description: A collection of JvectorMap maps of Norway.
Latest version: 1.0.1

# @react-jvectormap/norway

A collection of JvectorMap maps of Norway.

Available Maps:

- noMill
- noMerc

## Installation:

```
    yarn add @react-jvectormap/norway
```

or:

```
    npm install --save @react-jvectormap/norway
```

## Usage

```
    import { noMill } from '@react-jvectormap/norway';
```

or:

```
    import noMill from '@react-jvectormap/norway/dist/noMill';
```
npm package: @react-jvectormap/oceania
Description: A collection of JvectorMap maps of Oceania.
Latest version: 1.0.1

# @react-jvectormap/oceania

A collection of JvectorMap maps of Oceania.

Available Maps:

- oceaniaMill
- oceaniaMerc

## Installation:

```
    yarn add @react-jvectormap/oceania
```

or:

```
    npm install --save @react-jvectormap/oceania
```

## Usage

```
    import { oceaniaMill } from '@react-jvectormap/oceania';
```

or:

```
    import oceaniaMill from '@react-jvectormap/oceania/dist/oceaniaMill';
```
npm package: @react-jvectormap/poland
Description: A collection of JvectorMap maps of Poland.
Latest version: 1.0.1

# @react-jvectormap/poland

A collection of JvectorMap maps of Poland.

Available Maps:

- plMill
- plMerc

## Installation:

```
    yarn add @react-jvectormap/poland
```

or:

```
    npm install --save @react-jvectormap/poland
```

## Usage

```
    import { plMill } from '@react-jvectormap/poland';
```

or:

```
    import plMill from '@react-jvectormap/poland/dist/plMill';
```
npm package: @react-jvectormap/portugal
Description: A collection of JvectorMap maps of Portugal.
Latest version: 1.0.1

# @react-jvectormap/portugal

A collection of JvectorMap maps of Portugal.

Available Maps:

- ptMill
- ptMerc

## Installation:

```
    yarn add @react-jvectormap/portugal
```

or:

```
    npm install --save @react-jvectormap/portugal
```

## Usage

```
    import { ptMill } from '@react-jvectormap/portugal';
```

or:

```
    import ptMill from '@react-jvectormap/portugal/dist/ptMill';
```
npm package: @react-jvectormap/puertorico
Description: A collection of JvectorMap maps of Puerto Rico.
Latest version: 1.0.1

# @react-jvectormap/puertorico

A collection of JvectorMap maps of Puerto Rico.

Available Maps:

- puertoRico

## Installation:

```
    yarn add @react-jvectormap/puertorico
```

or:

```
    npm install --save @react-jvectormap/puertorico
```

## Usage

```
    import { puertoRico } from '@react-jvectormap/puertorico';
```

or:

```
    import puertoRico from '@react-jvectormap/puertorico/dist/puertoRico';
```
npm package: @react-jvectormap/russia
Description: A collection of JvectorMap maps of Russia.
Latest version: 1.0.1

# @react-jvectormap/russia

A collection of JvectorMap maps of Russia.

Available Maps:

- ruMill
- ruMerc

## Installation:

```
    yarn add @react-jvectormap/russia
```

or:

```
    npm install --save @react-jvectormap/russia
```

## Usage

```
    import { ruMill } from '@react-jvectormap/russia';
```

or:

```
    import ruMill from '@react-jvectormap/russia/dist/ruMill';
```
npm package: @react-jvectormap/russiafederaldistricts
Description: A collection of JvectorMap maps of Russia Federal Districts.
Latest version: 1.0.1

# @react-jvectormap/russiafederaldistricts

A collection of JvectorMap maps of Russia Federal Districts.

Available Maps:

- ruFdMill
- ruFdMerc

## Installation:

```
    yarn add @react-jvectormap/russiafederaldistricts
```

or:

```
    npm install --save @react-jvectormap/russiafederaldistricts
```

## Usage

```
    import { ruFdMill } from '@react-jvectormap/russiafederaldistricts';
```

or:

```
    import ruFdMill from '@react-jvectormap/russiafederaldistricts/dist/ruFdMill';
```
npm package: @react-jvectormap/southafrica
Description: A collection of JvectorMap maps of SouthAfrica.
Latest version: 1.0.1

# @react-jvectormap/southafrica

A collection of JvectorMap maps of SouthAfrica.

Available Maps:

- zaMill
- zaMerc

## Installation:

```
    yarn add @react-jvectormap/southafrica
```

or:

```
    npm install --save @react-jvectormap/southafrica
```

## Usage

```
    import { zaMill } from '@react-jvectormap/southafrica';
```

or:

```
    import zaMill from '@react-jvectormap/southafrica/dist/zaMill';
```
npm package: @react-jvectormap/southamerica
Description: A collection of JvectorMap maps of SouthAmerica.
Latest version: 1.0.1

# @react-jvectormap/southamerica

A collection of JvectorMap maps of SouthAmerica.

Available Maps:

- southAmericaMill
- southAmericaMerc

## Installation:

```
    yarn add @react-jvectormap/southamerica
```

or:

```
    npm install --save @react-jvectormap/southamerica
```

## Usage

```
    import { southAmericaMill } from '@react-jvectormap/southamerica';
```

or:

```
    import southAmericaMill from '@react-jvectormap/southamerica/dist/southAmericaMill';
```
npm package: @react-jvectormap/southkorea
Description: A collection of JvectorMap maps of SouthKorea.
Latest version: 1.0.1

# @react-jvectormap/southkorea

A collection of JvectorMap maps of SouthKorea.

Available Maps:

- krMill
- krMerc

## Installation:

```
    yarn add @react-jvectormap/southkorea
```

or:

```
    npm install --save @react-jvectormap/southkorea
```

## Usage

```
    import { krMill } from '@react-jvectormap/southkorea';
```

or:

```
    import krMill from '@react-jvectormap/southkorea/dist/krMill';
```
npm package: @react-jvectormap/spain
Description: A collection of JvectorMap maps of Spain.
Latest version: 1.0.1

# @react-jvectormap/spain

A collection of JvectorMap maps of Spain.

Available Maps:

- esMill
- esMerc

## Installation:

```
    yarn add @react-jvectormap/spain
```

or:

```
    npm install --save @react-jvectormap/spain
```

## Usage

```
    import { esMill } from '@react-jvectormap/spain';
```

or:

```
    import esMill from '@react-jvectormap/spain/dist/esMill';
```
npm package: @react-jvectormap/sweden
Description: A collection of JvectorMap maps of Sweden.
Latest version: 1.0.1

# @react-jvectormap/sweden

A collection of JvectorMap maps of Sweden.

Available Maps:

- seMill
- seMerc

## Installation:

```
    yarn add @react-jvectormap/sweden
```

or:

```
    npm install --save @react-jvectormap/sweden
```

## Usage

```
    import { seMill } from '@react-jvectormap/sweden';
```

or:

```
    import seMill from '@react-jvectormap/sweden/dist/seMill';
```
npm package: @react-jvectormap/switzerland
Description: A collection of JvectorMap maps of Switzerland.
Latest version: 1.0.1

# @react-jvectormap/switzerland

A collection of JvectorMap maps of Switzerland.

Available Maps:

- chMill
- chMerc

## Installation:

```
    yarn add @react-jvectormap/switzerland
```

or:

```
    npm install --save @react-jvectormap/switzerland
```

## Usage

```
    import { chMill } from '@react-jvectormap/switzerland';
```

or:

```
    import chMill from '@react-jvectormap/switzerland/dist/chMill';
```
npm package: @react-jvectormap/thailand
Description: A collection of JvectorMap maps of Thailand.
Latest version: 1.0.1

# @react-jvectormap/thailand

A collection of JvectorMap maps of Thailand.

Available Maps:

- thMill
- thMerc

## Installation:

```
    yarn add @react-jvectormap/thailand
```

or:

```
    npm install --save @react-jvectormap/thailand
```

## Usage

```
    import { thMill } from '@react-jvectormap/thailand';
```

or:

```
    import thMill from '@react-jvectormap/thailand/dist/thMill';
```
npm package: @react-jvectormap/turkey
Description: A collection of JvectorMap maps of Turkey.
Latest version: 1.0.1

# @react-jvectormap/turkey

A collection of JvectorMap maps of Turkey.

Available Maps:

- trMill

## Installation:

```
    yarn add @react-jvectormap/turkey
```

or:

```
    npm install --save @react-jvectormap/turkey
```

## Usage

```
    import { trMill } from '@react-jvectormap/turkey';
```

or:

```
    import trMill from '@react-jvectormap/turkey/dist/trMill';
```

## Attribution

https://github.com/cbilgili/jVectorMap-Turkey
npm package: @react-jvectormap/ukregions
Description: A collection of JvectorMap maps of UkRegions.
Latest version: 1.0.2

# @react-jvectormap/ukregions

A collection of JvectorMap maps of UkRegions.

Available Maps:

- ukRegionsMill
- ukRegionsMerc

## Installation:

```
    yarn add @react-jvectormap/ukregions
```

or:

```
    npm install --save @react-jvectormap/ukregions
```

## Usage

```
    import { ukRegionsMill } from '@react-jvectormap/ukregions';
```

or:

```
    import ukRegionsMill from '@react-jvectormap/ukregions/dist/ukRegionsMill';
```
npm package: @react-jvectormap/unitedkingdomcountries
Description: A collection of JvectorMap maps of United Kingdom Countries.
Latest version: 1.0.1

# @react-jvectormap/unitedkingdomcountries

A collection of JvectorMap maps of United Kingdom Countries.

Available Maps:

- ukCountriesMill
- ukCountriesMerc

## Installation:

```
    yarn add @react-jvectormap/unitedkingdomcountries
```

or:

```
    npm install --save @react-jvectormap/unitedkingdomcountries
```

## Usage

```
    import { ukCountriesMill } from '@react-jvectormap/unitedkingdomcountries';
```

or:

```
    import ukCountriesMill from '@react-jvectormap/unitedkingdomcountries/dist/ukCountriesMill';
```
npm package: @react-jvectormap/unitedstates
Description: A collection of JvectorMap maps of United States.
Latest version: 1.0.1

# @react-jvectormap/unitedstates

A collection of JvectorMap maps of United States.

Available Maps:

- useMerc
- usMill
- usLcc
- usAea

## Installation:

```
    yarn add @react-jvectormap/unitedstates
```

or:

```
    npm install --save @react-jvectormap/unitedstates
```

## Usage

```
    import { useMerc } from '@react-jvectormap/unitedstates';
```

or:

```
    import useMerc from '@react-jvectormap/unitedstates/dist/useMerc';
```
npm package: @react-jvectormap/venezuela
Description: A collection of JvectorMap maps of Venezuela.
Latest version: 1.0.1

# @react-jvectormap/venezuela

A collection of JvectorMap maps of Venezuela.

Available Maps:

- veMill
- veMerc

## Installation:

```
    yarn add @react-jvectormap/venezuela
```

or:

```
    npm install --save @react-jvectormap/venezuela
```

## Usage

```
    import { veMill } from '@react-jvectormap/venezuela';
```

or:

```
    import veMill from '@react-jvectormap/venezuela/dist/veMill';
```
npm package: @react-jvectormap/world
Description: A collection of JvectorMap maps of World.
Latest version: 1.1.2

# @react-jvectormap/world

A collection of JvectorMap maps of World.

Available Maps:

- worldMill
- worldMerc

## Installation:

```
    yarn add @react-jvectormap/world
```

or:

```
    npm install --save @react-jvectormap/world
```

## Usage

```
    import { worldMill } from '@react-jvectormap/world';
```

or:

```
    import worldMill from '@react-jvectormap/world/dist/worldMill';
```
npm package: @react-keycloak/keycloak-ts
Description: Keycloak typescript adapter
Author: Mattia Panzeri
Latest version: 0.2.4

# KeycloakTS <!-- omit in toc -->

> Typescript porting of [Keycloak](https://www.keycloak.org/) javascript client

## :construction: WIP: Under development :construction: <!-- omit in toc -->

[![NPM (scoped)](https://img.shields.io/npm/v/@react-keycloak/keycloak-ts?label=npm%20%7C%20keycloak-ts)](https://www.npmjs.com/package/@react-keycloak/keycloak-ts)

[![License](https://img.shields.io/github/license/react-keycloak/keycloak-ts.svg)](https://github.com/react-keycloak/keycloak-ts/blob/master/LICENSE)
[![Github Issues](https://img.shields.io/github/issues/react-keycloak/keycloak-ts.svg)](https://github.com/react-keycloak/keycloak-ts/issues)

[![Gitter](https://img.shields.io/gitter/room/react-keycloak/community)](https://gitter.im/react-keycloak/community)

---

## Table of Contents <!-- omit in toc -->

- [Install](#install)
- [Getting Started](#getting-started)
  - [Create a custom KeycloakAdapter](#create-a-custom-keycloakadapter)
  - [Setup Keycloak instance](#setup-keycloak-instance)
- [Contributing](#contributing)
- [License](#license)

---

## Install

```sh
yarn add @react-keycloak/keycloak-ts
```

or

```sh
npm install @react-keycloak/keycloak-ts
```

## Getting Started

**KeycloakTS** provides a porting of the original [Keycloak javascript adapter](https://www.keycloak.org/docs/latest/securing_apps/index.html#_javascript_adapter) to allow better extensibility and usage on different platform by using custom adapters.

### Create a custom KeycloakAdapter

Create a class which implements the `KeycloakAdapter` interface

```ts
import type { KeycloakAdapter } from '@react-keycloak/keycloak-ts';

// Wrap everything inside ReactNativeKeycloakProvider
class MyCustomAdapter implements KeycloakAdapter {
  ...
};

export default MyCustomAdapter;
```

### Setup Keycloak instance

```ts
import { KeycloakClient } from '@react-keycloak/keycloak-ts';

import MyCustomAdapter from './adapter.ts';

// Setup Keycloak client as needed
// Pass initialization options as required
const keycloak = new KeycloakClient({
  url: 'http://keycloak-server/auth',
  realm: 'kc-realm',
  clientId: 'web'
});

// Call init passing a custom adapter

keycloak.init({
  adapter: MyCustomAdapter,
});

export default keycloak;
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT