open-index/open-npm huggingface dataset:
npm package: @dc0de/eslint-config
Description: JavaScript Style Guide
Author: Umidbek Karimov
Latest version: 0.7.1

# eslint-config

[![npm version](https://badge.fury.io/js/%40dc0de%2Feslint-config.svg)](https://badge.fury.io/js/%40dc0de%2Feslint-config)

Eslint config extended from `eslint-config-base` with [eslint-plugin-typescript](https://github.com/nzakas/eslint-plugin-typescript) support.

#### Installation

```bash
# NPM
npm i -D @dc0de/eslint-config

# Yarn
yarn add -D @dc0de/eslint-config
```

#### Usage

```json
{
  "extends": ["@dc0de/eslint-config"]
}
```

##### With WebStorm

Add `--plugin typescript` to eslint extra options.
npm package: @dc1994/u-exchange-sdk
Description: 🛠 An SDK for building applications on top of U.EXCHANGE.
Author: udotcash
Latest version: 1.9.9

# Uniswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

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

## 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/Uniswap/uniswap-sdk.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-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.
```
npm package: @dccs/react-datagrid-plain
Description: A light datagrid build upon react-table-plain for React.
Author: Stephan Meißner
Latest version: 3.0.0

# react-datagrid-plain &middot; ![travis build](https://img.shields.io/travis/DCCS-IT-Business-Solutions/react-datagrid-plain.svg) ![npm version](https://img.shields.io/npm/v/@dccs/react-datagrid-plain.svg)

A light datagrid build upon react-table-mui for React.

## Installation

You should install [react-datagrid-plain with npm or yarn](https://www.npmjs.com/package/@dccs/react-datagrid-plain):

    npm install @dccs/react-datagrid-plain
    or
    yarn add @dccs/react-datagrid-plain

This command will download and install react-datagrid-plain

## How it works

react-datagrid-plain uses:

- [@dccs/react-table-plain](https://www.npmjs.com/package/@dccs/react-table-plain) to display the table data

react-datagrid-plain is designed to do all the paging and sorting for you. You only provide the `onLoadData` callback, that returns the data as a `Promise<{data: any[], total: number}>` (paging needs `total` to provide the maximal number pages).

Here is an example:

```javascript
<DataGridPlain
  colDef={[
    { prop: "id", header: "Id" },
    { prop: "display_name", header: "Full name", sortable: true }
  ]}
  onLoadData={(page, rowsPerPage, orderBy, desc) =>
    fetch(url /* with querystring params */)
      .then(resp => resp.json())
      .then(resp => ({ data: resp.data, total: resp.total }))
  }
/>
```

Inside the `onLoadData` you can use whatever Http library you want. That way it is possible to append i.e. authorization tokens, custom http headers, ...

`onLoadData` can provide data from every source. Server, client, rest, GraphQL, ... react-datagrid-mui does not care.
npm package: @dccxx/google-search-api
Description: Google Search API server with browser automation
Latest version: 1.0.5

First, you need to run the Google Search server, ensuring that Google Chrome is installed on your computer.

```shell
bunx @dccxx/google-search-api
```
## Proxy Configuration

To bypass Google Captcha, you can configure a proxy server using environment variables. The application supports HTTP, HTTPS, and SOCKS5 proxies.

### Setting up Proxy

Set one of the following environment variables:

```bash
# HTTP Proxy
export HTTP_PROXY=http://proxy.example.com:8080

# HTTPS Proxy (recommended)
export HTTPS_PROXY=http://proxy.example.com:8080

# With authentication
export HTTPS_PROXY=http://username:password@proxy.example.com:8080

# SOCKS5 Proxy
export HTTP_PROXY=socks5://127.0.0.1:1080
```

### Using Proxy with the Server

```bash
# Set proxy and start server
export HTTPS_PROXY=http://your-proxy-server:port
bunx @dccxx/google-search-api
```

The proxy will be automatically applied to both AdsPower and Puppeteer Real Browser instances.

MCP config:
```json
{
  "mcpServers": {
    "BMMcBfepWWrz2yO7yKPh9": {
      "name": "Search MCP",
      "type": "stdio",
      "description": "",
      "isActive": true,
      "registryUrl": "",
      "timeout": "120",
      "command": "bunx @dccxx/search-mcp",
      "args": [],
      "env": {
        "SEARCH_API_HOST": "http://localhost:4566"
      }
    }
  }
}
```
npm package: @dck/bs-react-async
Description: 🚧 Partial BuckleScript bindings for react-async v8. This will be updated if needed.
Author: Thomas Deconinck
Latest version: 0.4.0

# bs-react-async

🚧 Partial BuckleScript bindings for react-async v8. This will be updated if needed.

## Install

```
yarn add @dck/bs-react-async
```

Add it to `bs-dependencies` in your `bsconfig.json` :

```json
{
  "bs-dependencies": ["@dck/bs-react-async"]
}
```

## Usage

### Basic

```reason
open BsReactAsync;

let fetchSomeData = () => serviceThatReturnAPromise();

[@react.component]
let make = () => {
  let request = ReactAsync.useAsync(fetchSomeData, ());
  let isLoading = request->ReactAsync.Req.isLoading;
  let error = request->ReactAsync.Req.error->Js.Nullable.toOption;
  let data = request->ReactAsync.Req.data;

  {
    switch (isLoading, error, data) {
      | (true, _, _) => <p>"Loading"->React.string</p>
      | (false, Some(e), _) => <p>
        {
          error
            ->Js.Exn.message
            ->Belt.Option.getWithDefault("An error occured")
            |> React.string
        }
      </p>
      | (false, None, data) => {
        Js.log(data);

        <div>
          "show data"->React.string
        </div>
      }
    }
  }
};
```

### Components

```reason
open BsReactAsync;

let fetchSomeData = () => serviceThatReturnAPromise();

[@react.component]
let make = () => {
  let request = ReactAsync.useAsync(fetchSomeData, ());


  <>
    <Pending state=request>
      <p>"Loading"->React.string</p>
    </Pending>
    <Rejected state=request>
      {
        error =>
      <p>
        {
          error
            ->Js.Exn.message
            ->Belt.Option.getWithDefault("An error occured")
            |> React.string
        }
      </p>
      }
    </Rejected>
    <Fulfilled state=request>
      {
        data => {
          Js.log(data);

          <div>
            "show data"->React.string
          </div>
        }
      }
    </Fulfilled>
  </>
};
```
npm package: @dckj-npm/lowcode-plugin-code-generator
Description: 集团低代码引擎 - 浏览器出码插件
Latest version: 1.3.33

# 集团低代码引擎 - 出码插件（浏览器里进行出码）

## 简介

本项目是出码模块的对应的浏览器里进行出码的插件

## 使用方法

1. 安装依赖 `npm install --save @alilc/lowcode-plugin-code-generator`
2. 注册插件:

```ts
import { plugins } from '@alilc/lowcode-engine';
import CodeGenPlugin from '@alilc/lowcode-plugin-code-generator';

// 在你的初始化函数中：
await plugins.register(CodeGenPlugin);

// 如果您不希望自动加上出码按钮，则可以这样注册
await plugins.register(CodeGenPlugin, { disableCodeGenActionBtn: true });

```

然后运行你的低代码编辑器项目即可。

参考：低代码编辑器的 Demo: <https://github.com/alibaba/lowcode-demo>

## 插件 API

本插件提供了出码的 API，注册了插件后, 可以这么样来用:

```js
import { plugins } from '@alilc/lowcode-engine';

const codeGenResult = plugins.codeGenerator.generateCode({
  solution: 'icejs',
  schema: await ctx.project.exportSchema(),
});

console.log('出码结果:', codeGenResult); // 这里就是出码结果

```

## 本地开发

常规两步即可开发调试：`npm i && npm start`

## 共建

欢迎参与共建，欢迎直接 fork 一份改改，补充您所需要的特性或修复 bug，然后提 PR 过来:

-- 代码仓库：<https://github.com/alibaba/lowcode-code-generator-demo>