open-index/open-npm huggingface dataset:
npm package: @pricemoov-oss/moon-axios
Description: Axios for moon
Author: PricemoovOSS
Latest version: 1.2.0

# @pricemoov-oss/moon-axios

_**The power of react-query with Axios**_

**@pricemoov-oss/moon** is the [Axios](https://github.com/axios/axios) HTTP client for [Moon](https://github.com/PricemoovOSS/moon). 

## Installation

```bash
npm install @pricemoov-oss/moon @pricemoov-oss/moon-axios react-query axios --save
```

## Usage

Please see the [Moon doc](https://github.com/PricemoovOSS/moon/blob/master/README.md) for more details.

```js
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
import { MoonProvider, ILink } from "@pricemoov-oss/moon";
import axiosClientFactory from "@pricemoov-oss/moon-axios";

function successHandler(response: AxiosResponse){...};

function setLanguage(config: AxiosRequestConfig): AxiosRequestConfig | Promise<AxiosRequestConfig> {
  return {
    ...config,
    headers: {
      ...config.headers,
      "Accept-Language": "en"
    }
  };
}

const requestInterceptors = [{ onFulfilled: setLanguage }];

const responseInterceptors = [{ onFulfilled: successHandler }];


const links: ILink<AxiosInstance, AxiosRequestConfig, AxiosResponse>[] = [
  {
    id: "FOO",
    config: { baseURL: "http://foo.com" }, // AxiosRequestConfig
    interceptors: { request: requestInterceptors, response: responseInterceptors }
  }
];

const App = () => {
  return (
    <MoonProvider links={links} clientFactory={axiosClientFactory}>
      <MyComponent />
    </MoonProvider>
  );
};

```

Once your **MoonProvider** is hooked up, you're ready to start requesting !
npm package: @pricemoov-oss/moon-graphql
Description: GraphQL for moon
Author: PricemoovOSS
Latest version: 1.1.0

# @pricemoov-oss/moon-graphql

_**The power of react-query with graphql**_

**@pricemoov-oss/moon** is the [graphql](https://github.com/prisma-labs/graphql-request) HTTP client for [Moon](https://github.com/PricemoovOSS/moon). 

## Installation

```bash
npm install @pricemoov-oss/moon @pricemoov-oss/moon-graphql react-query graphql graphql-request --save
```

## Usage

Please see the [Moon doc](https://github.com/PricemoovOSS/moon/blob/master/README.md) for more details.

```js
import { MoonProvider, ILink } from "@pricemoov-oss/moon";
import graphqlClientFactory from "@pricemoov-oss/moon-graphql";

function successHandler(response){...};

function setLanguage(config: RequestInit): RequestInit {
  return {
    ...config,
    headers: {
      ...config.headers,
      "Accept-Language": "en"
    }
  };
}

const requestInterceptors = [{ onFulfilled: setLanguage }];

const responseInterceptors = [{ onFulfilled: successHandler }];


const links: ILink<GraphqlInstance, GraphqlRequestConfig, GraphqlResponse>[] = [
  {
    id: "FOO",
    config: { baseURL: "http://foo.com" }, // RequestInit
    interceptors: { request: requestInterceptors, response: responseInterceptors }
  }
];

const App = () => {
  return (
    <MoonProvider links={links} clientFactory={graphqlClientFactory}>
      <MyComponent />
    </MoonProvider>
  );
};

```

Once your **MoonProvider** is hooked up, you're ready to start requesting !
npm package: @pricemoov-oss/react-table
Description: React components for efficiently rendering large tabular data
Author: PricemoovOSS
Latest version: 4.0.0


# @pricemoov-oss/react-table

React components for efficiently rendering large tabular data

<img src="images/table.png" width="1200" style="box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5)"/>

*A table with 15 000 rows and 1 000 columns (with sub rows, fixed rows and fixed columns)*


<img src="images/tableSelection.png" width="500" style="box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5)"/>

*A table with custom right click menu*

![Storybook](https://cdn.jsdelivr.net/gh/storybooks/brand@master/badge/badge-storybook.svg)

### Installing

```
npm install -S @pricemoov-oss/react-table
```

### Usage


```js
import { Table } from "@pricemoov-oss/react-table";
import "@pricemoov-oss/react-table/dist/style/index.css";

 const rows = [
    {
      id: "header",
      isHeader: true,
      cells: [
        {
          id: "wawoo",
          value: "Wawooo!"
        },
        ...
      ]
    },
    {
      id: "row1",
      cells: [
        {
          id: "react",
          value: "React"
        },
        ...
      ]
    },
    ...
   ];

function MyComponent() {
  return (
    <Table
      id="table-id"
      rows={rows}
      columns={{ 0: { style: { justifyContent: "left" }, size: 200 } }}
      isVirtualized
      virtualizerProps={{
        fixedRows: [0],
        fixedColumns: [0],
        height: 500,
        width: 1000
      }}
    />
  );
}
```

## Getting Started (Devs)

```bash
git clone ...
cd react-table
npm ci
npm run storybook
```

🚀 Storybook ready at  http://localhost:9001/

## Running the tests

```
npm run test
npm run lint
```
## Contributing

**PRs are welcome!**
You noticed a bug, a possible improvement or whatever?
Any help is always appreciated, so don't hesitate opening one!

Be sure to check out the [contributing guidelines](CONTRIBUTING.md) to fasten
up the merging process.

## Active authors

* **Amen Souissi**  [amen-souissi](https://github.com/amen-souissi)
* **Hyacinthe Knobloch** [hyacintheknobloch](https://github.com/hyacintheknobloch)
* **Benjamin Wintrebert** [Ben-Wintrebert](https://github.com/Ben-Wintrebert)

See also the list of [contributors](https://github.com/PricemoovOSS/react-table/graphs/contributors) who participated in this project.

## License

This project is licensed under the Apache-2.0 License - see the [LICENSE.md](https://github.com/PricemoovOSS/react-table/blob/master/LICENSE) file for details