open-index/open-npm huggingface dataset:
npm package: @sd-timesdata/sd-element-ui
Description: 时代vue ui组件
Author: huangiyongqi
Latest version: 1.4.10

# 时代组件库

基于element-ui，项目上要装element-ui

## 依赖安装
```
npm install
```

### 项目启动
``
npm run serve
```

### 构建
```
npm run lib
发布npm包的时候用 npm run lib构建
```
npm package: @sd-timesdata/sd-layout
Description: 拖动组件
Author: YQ
Latest version: 1.0.2

# `@sd-timesdata/sd-layout`

> 时代layout组件，带拖拽

## Usage

```
 <chartsGridLayout 
  :layout="layout"
  :draggable="true"
  :resizable="true"
>
  <!-- 图表内容 组件内部暴露妹个layout的index和每格代表的高度-->
  <template slot-scope="{chartsIndex, rowHeight}">
      ...
  </template>
</chartsGridLayout>
```
npm package: @sd0x/nest-openai-client
Description: NestJS OpenAI Client
Author: sd0x
Latest version: 0.0.11
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# nest-openai-client

This is a client for the [OpenAI API](https://beta.openai.com/docs/api-reference/introduction) that is used by the [Nest.js](https://nestjs.com/) framework.

[x] OpenAI API
[x] Azure OpenAI API
[x] Nest.js

## Installation

```bash
npm install @sd0x/nest-openai-client
```

## Usage

```typescript
import { NestOpenAIClientModule } from '@sd0x/nest-openai-client';
...
NestOpenAIClientModule.registerAsync({
      useFactory: (configService: ConfigService) => ({
        apiKey: configService.get<IOpenAIConfig>(ConfigPath.OpenAI).apiKey,
        azure: configService.get<IAzureOpenAIConfig>(ConfigPath.AzureOpenAI)
          .enable
          ? {
              apiKey: configService.get<IAzureOpenAIConfig>(
                ConfigPath.AzureOpenAI
              ).apiKey,
              endpoint: configService.get<IAzureOpenAIConfig>(
                ConfigPath.AzureOpenAI
              ).endpoint,
              deploymentName: configService.get<IAzureOpenAIConfig>(
                ConfigPath.AzureOpenAI
              ).deploymentName,
            }
          : undefined,
      }),
      inject: [ConfigService],
    }),
```

```typescript
// in service

constructor(
    private readonly nestOpenAIClientService: NestOpenAIClientService
  ) {}
...
async getData() {
    const result = await this.nestOpenAIClientService
      .getOpenAIApiClient()
      .createChatCompletion({
        model: 'gpt-3.5-turbo',
        messages: [
          {
            content: "Hello, I'm a human",
            role: 'user',
          },
        ],
      });

    return result.data;
  }

  async getDataFromAzure() {
    const result = await this.nestOpenAIClientService
      .getAzureOpenAIApiClient()
      .createChatCompletion({
        model: process.env.AZURE_OPENAI_MODEL_NAME,
        messages: [
          {
            content: "Hello, I'm a human",
            role: 'user',
          },
        ],
      });

    return result.data;
  }
```
npm package: @sd_uniswap/lib
Description: [![Tests](https://github.com/Uniswap/uniswap-lib/workflows/Tests/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ATests) [![Static Analysis](https://github.com/Uniswap/uniswap-lib/workflows/Static%20Analysis/badge.svg)](https://
Author: SeerDay
Latest version: 1.0.2

# uniswap-lib

[![Tests](https://github.com/Uniswap/uniswap-lib/workflows/Tests/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ATests)
[![Static Analysis](https://github.com/Uniswap/uniswap-lib/workflows/Static%20Analysis/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3A%22Static+Analysis%22)
[![Lint](https://github.com/Uniswap/uniswap-lib/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3ALint)
[![Fuzz Testing](https://github.com/Uniswap/uniswap-lib/workflows/Fuzz%20Testing/badge.svg)](https://github.com/Uniswap/uniswap-lib/actions?query=workflow%3A%22Fuzz+Testing%22)
[![npm](https://img.shields.io/npm/v/@uniswap/lib)](https://unpkg.com/@uniswap/lib@latest/)

Solidity libraries that are shared across Uniswap contracts. This package focuses on safety and execution gas efficiency.

## Install

Run `yarn` to install dependencies.

## Test

Run `yarn test` to execute the test suite.

## Usage

Install this in another project via `yarn add @uniswap/lib`

Then import the contracts via:

```solidity
import '@uniswap/lib/contracts/libraries/Babylonian.sol';

```