open-index/open-npm huggingface dataset:
npm package: @paramander/ois-api-node
Description: Omnichannel Integration Suite API client
Author: Paramander
Latest version: 2.4.15

# OIS Node.js Library

[![Build Status](https://drone.kubernetes.paramander.com/api/badges/paramander/ois-api-node/status.svg)](https://drone.kubernetes.paramander.com/paramander/ois-api-node)

The OIS Node library provides convenient access to the OIS API from applications written in server-side JavaScript.

## Documentation

See the [OIS REST API docs](https://defaultapi-app.azurewebsites.net/swagger/index.html),

## Requirements

Node 14 or higher. Uses ES modules.

## Installation

Install the package with:

```
npm install @paramander/ois-api-node
# or
yarn add @paramander/ois-api-node
```

## Usage

The package needs to be configured with your account's access token, which you should generate using OAuth credentials flow, via Auth0.com

Use Auth0 to retrieve your token by `POST`ing
to [https://divide.eu.auth0.com//oauth/token](https://divide.eu.auth0.com//oauth/token) with the Auth0 client ID and client secret
provided to you by Divide.

```javascript
const { createOisClient } = require("@paramander/ois-api-node");

const client = createOisClient({
  apiKey: "<auth0 access token>",
});

const { data: catalog } = client.catalog.list().then((response) => {
  const { data: catalog } = response;

  catalog.forEach((product) => {
    console.log(product.id);
  });
});
```

Or using ES modules and `async`/`await`:

```javascript
import { createOisClient } from "@paramander/ois-api-node";

const client = createOisClient({
  apiKey: "<auth0 access token>",
});

(async () => {
  const { data: catalog } = await client.catalog.list();

  catalog.forEach((product) => {
    console.log(product.id);
  });
})();
```

## Configuration

The package can be initialized with several options:

```javascript
const client = createOisClient({
  apiKey: "<insert here>",
  apiVersion: "v1",
  timeout: 15 * 1000, // 15 seconds
  host: "https://production-app.azurewebsites.net", // change the OIS API URL",
  locale: "en-US", // Use a default locale, can be overridden with each request
});
```

## Development

Run all tests:

```
npm install
npm test
```

Run a single test in watch mode:

```
npm run mocha test/createOisClient.spec.js -- --grep 'succeeds with apiKey' --watch
```

Run prettier:

Add an [editor integration](https://prettier.io/docs/en/editors.html) or:

```
npm run fix
```
npm package: @parameshdev/react-psh-image-editor-modal
Description: Premium psh image editor component for React
Author: Paramesh
Latest version: 1.0.1

<<<<<<< HEAD
# React-premium-image-resize-editor
A modern, production-ready image editor modal for React apps. Resize, crop, adjust, and export images effortlessly — just like Canva.
=======
# react-psh-image-editor-modal

A reusable React modal component to crop, resize, scale, and export images in multiple formats.

## Features
- Crop & zoom images (`react-easy-crop`)
- Resize images manually or via **social media presets**
- Export as `.png`, `.jpg`, `.jpeg`, `.webp`
- Preview & download edited image
- Reusable modal for multiple projects (e-commerce, social media, newsletters)

## Installation
```bash
npm install react-psh-image-editor-modal
>>>>>>> 97f1689 (Initial release of react-psh-image-editor-modal)