open-index/open-npm huggingface dataset:
npm package: @sp1985/react-zoom-pan-pinch
Description: React package for zooming, panning and pinching html elements in an easy way.
Author: sp1985
Latest version: 2.4.6

# @pronestor/react-zoom-pan-pinch

Super fast and light react Node.js package for zooming, panning and pinching html elements in an easy way.

This is a fork of [react-zoom-pan-pinch](https://github.com/prc5/react-zoom-pan-pinch) originally created in order to fix [the issue with build errors because of missing source files](https://github.com/prc5/react-zoom-pan-pinch/issues/265).

## Documentation

[Storybook for `@pronestor/react-zoom-pan-pinch`](https://pronestoraps.github.io/react-zoom-pan-pinch/).

## Quick Start

### Installation

```shell
yarn add @pronestor/react-zoom-pan-pinch
```

or

```shell
npm install @pronestor/react-zoom-pan-pinch
```

### Usage

Basic usage:

```jsx
import {
  TransformComponent,
  TransformWrapper,
} from "@pronestor/react-zoom-pan-pinch";

export const SimpleExample = () => (
  <TransformWrapper>
    <TransformComponent>
      <img src="image.jpg" alt="test" />
    </TransformComponent>
  </TransformWrapper>
);
```

With controls:

```jsx
import {
  TransformComponent,
  TransformWrapper,
} from "@pronestor/react-zoom-pan-pinch";

export const ExampleWithZoomControls = () => (
  <TransformWrapper
    initialPositionX={200}
    initialPositionY={100}
    initialScale={1}
  >
    {({ zoomIn, zoomOut, ...rest }) => (
      <>
        <div className="tools">
          <button onClick={() => zoomIn()}>+</button>
          <button onClick={() => zoomOut()}>-</button>
        </div>
        <TransformComponent>
          <img src="image.jpg" alt="test" />
          <div>Example text</div>
        </TransformComponent>
      </>
    )}
  </TransformWrapper>
);
```

## License

MIT © [Pronestor](https://github.com/proNestorAps)
npm package: @sp1r1don/test
Description: Multidata oracle SDK
Author: Unit Protocol
Latest version: 0.0.24-development

# multidata-oracle-sdk

SDK for multidata oracle

## Installation

#### Using npm
```bash
$ npm install @unitprotocol/multidata-sdk
```
#### Using Yarn
```bash
$ yarn add debug @unitprotocol/multidata-sdk
```

## Usage

```js
import OracleReader from '@unitprotocol/multidata-sdk';

const reader = new OracleReader();

reader.getPriceById(1).then((resp) => console.log('resp', resp));
```

## API
| Method          | Return type       | Description                   |
|-----------------|-------------------|-------------------------------|
| getMetrics      | Promise<Metric[]> | Return all metrics properties |
| getPricesByIds  | Promise<Price[]>  | Return price by id or name    |
| getPriceById    | Promise<Price[]>  | Return price by id or name    |
| getMetricsCount | Promise\<number>  | Return total metrics count    |
| hasMetric       | Promise\<boolean> | Check if Metric exist         |