open-index/open-npm huggingface dataset:
npm package: @opinephp/content-tools
Description: Tools and utilities for working with FirstWho as a headless CMS
Author: Mission Focused Tech LLC
Latest version: 1.0.39

# FirstWho Content Tools
Tools and utilities for working with FirstWho as a headless CMS

### Getting Started
- obtain an content API key from FirstWho
- set your local environment variables (see `.env-sample`)

### Running from CLI
The following command will pull all content from FirstWho as a zip file (`content.zip`) and extract it.

```sh
./fetch.sh
```
npm package: @opinew/headless-widgets
Description: React wrapper for Opinew widgets. Can be used with Shogun and Hydrogen
Author: grzegorz@opinew.com
Latest version: 0.1.6

# Opinew Headless

Opinew integration for Shogun Frontend.

Display reviews, scores and let users to write their own reviews.

<table>
  <tbody>
    <tr>
      <td>⚠️</td>
      <td>This package runs on Shogun Frontend and is in customer Beta. It might not currently support all ecommerce platforms or cover all use cases.</td>
    </tr>
  </tbody>
</table>

## Overview
Users of Shogun Frontend on Shopify can leverage this package to display 7 beautiful UGC widgets on their stores, increase conversions through social proof, and allow their customers to publish and leave new verified reviews.


## Installation

`yarn add @opinew/headless-widgets`

`npm install @opinew/headless-widgets`


## Limitations

Opinew requires Shopify to be used as the ecommerce platform.


## Usage


- Get your shop myshopify `domain` (e.g. store.myshopify.com) from the `frontend-config` package.
- Add the `<OpinewPluginReact>` component to your page, and pass it a its `type`, `domain` and `productId` if you choose type 'product' or 'floating'.

See Opinew headless widgets documentation for more detail: https://www.opinew.com/help-center/knowledge-base/web-components/

### Product Reviews
```jsx
import { OpinewPluginReact } from '@opinew/headless-widgets';

export default ({productId}) => (
    <OpinewPluginReact type="product" domain="shop.myshopify.com" productId={productId} />
)
```
### Floating Widget
```jsx
import { OpinewPluginReact } from '@opinew/headless-widgets';

export default ({productId}) => (
    <OpinewPluginReact type="floating" domain="shop.myshopify.com" productId={productId} />
)
```

### All Reviews
```jsx
import { OpinewPluginReact } from '@opinew/headless-widgets';

export default () => (
    <OpinewPluginReact type="all" domain="shop.myshopify.com" />
)
```
### Reviews Carousel
```jsx
import { OpinewPluginReact } from '@opinew/headless-widgets';

export default () => (
    <OpinewPluginReact type="carousel" domain="shop.myshopify.com" />
)
```

### Badge
```jsx
import { OpinewPluginReact } from '@opinew/headless-widgets';

export default () => (
    <OpinewPluginReact type="badge" domain="shop.myshopify.com" />
)
```


### Recommendations

- For best results make sure that container you are putting widgets in allow them take full width of the section. We do not reccomend setting parent node style to `display: flex;`
npm package: @opinion-labs/opinion-api
Description: Auto-generated OpenAPI client for Opinion Prediction Market API
Author: Opinion Labs
Latest version: 0.3.0

# @opinion-labs/opinion-api

Auto-generated TypeScript client for the [Opinion Labs](https://opinion.trade) Prediction Market OpenAPI.

## Installation

```bash
npm install @opinion-labs/opinion-api
```

## Quick Start

```typescript
import { createClient, createConfig } from '@opinion-labs/opinion-api/client';
import { getMarket, getTokenOrderbook, getTokenLatestPrice } from '@opinion-labs/opinion-api';

// Create a configured client
const client = createClient(
  createConfig({
    baseUrl: 'https://openapi.opinion.trade/openapi',
    headers: {
      apikey: 'your_api_key',
    },
  })
);

// Fetch markets
const { data } = await getMarket({
  client,
  headers: { apikey: 'your_api_key' },
  query: { chainId: '56', marketType: 2, page: 1, limit: 10, sortBy: 1 },
});

console.log(data?.result?.list);
```

## Available Endpoints

### Market Data

| Function | Description |
|----------|-------------|
| `getMarket()` | List markets with pagination and filters |
| `getMarketByMarketId()` | Get binary market details by ID |
| `getMarketCategoricalByMarketId()` | Get categorical market details by ID |
| `getQuoteToken()` | List supported quote tokens |
| `getTokenOrderbook()` | Get orderbook for a token |
| `getTokenLatestPrice()` | Get latest price for a token |
| `getTokenPriceHistory()` | Get price history with interval/time range |
| `getTokenFeeRates()` | Get fee rates for a token |

### User & Positions

| Function | Description |
|----------|-------------|
| `getUserAuth()` | Get authenticated user info |
| `getUserBalance()` | Get user's token balances |
| `getPositions()` | Get user's positions |
| `getPositionsUserByWalletAddress()` | Get another user's positions |
| `getTrade()` | Get user's trade history |
| `getTradeUserByWalletAddress()` | Get another user's trade history |
| `getOrder()` | Get user's orders |
| `getOrderByOrderId()` | Get order details by ID |

### Orders

| Function | Description |
|----------|-------------|
| `postOrder()` | Place an order |
| `postOrderCancel()` | Cancel an order |

## Response Format

All endpoints return responses in the following structure:

```typescript
{
  data?: {
    errno: number;    // 0 = success
    errmsg: string;   // Error message (empty on success)
    result: T;        // Response payload
  };
  error?: unknown;
}
```

## Higher-Level SDK

For a more ergonomic developer experience with built-in order signing, wallet management, and WebSocket support, use [`@opinion-labs/opinion-clob-sdk`](https://www.npmjs.com/package/@opinion-labs/opinion-clob-sdk) which wraps this client.

## Requirements

- Node.js >= 18
- TypeScript >= 5.3 (for type-safe usage)

## License

MIT
npm package: @opinium/sdk
Description: 🛠 An SDK for building applications on top of opinium.
Latest version: 0.0.2

# Sushiswap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/sushiswap/sushiswap-sdk.git
```

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```