open-index/open-npm huggingface dataset:
npm package: @laotl5342/sdk-core
Description: An SDK for building applications on top of Uniswap V3
Latest version: 4.2.0

# @uniswap/sdk-core - Now at `Uniswap/sdks`

All versions after 4.2.0 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/sdk-core)! Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
npm package: @laotl5342/uniswapx-sdk
Description: All versions after 2.0.1 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/uniswapx-sdk Please file all future issues, PR’s, and discussions there.
Author: Uniswap
Latest version: 3.0.0-beta.7

# @uniswap/uniswapx-sdk - Now at `Uniswap/sdks`

All versions after 2.0.1 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/uniswapx-sdk Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
npm package: @laotl5342/v2-sdk
Description: 🛠 An SDK for building applications on top of Uniswap V2
Latest version: 4.15.2

# @uniswap/v2-sdk - Now at `Uniswap/sdks`

All versions after 4.3.0 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/v2-sdk)! Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
npm package: @laotl5342/v3-sdk
Description: An SDK for building applications on top of Uniswap V3
Latest version: 3.11.0

# @uniswap/v3-sdk - Now at `Uniswap/sdks`

All versions after 3.11.0 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/v3-sdk)! Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
npm package: @laoxiangzi/ui
Description: cdui component
Latest version: 0.0.1

# cdui

[![NPM version](https://img.shields.io/npm/v/cdui.svg?style=flat)](https://npmjs.org/package/cdui)
[![NPM downloads](http://img.shields.io/npm/dm/cdui.svg?style=flat)](https://npmjs.org/package/cdui)

cdui component

## Usage

TODO

## Options

TODO

## Development

```bash
# install dependencies
$ npm install

# develop library by docs demo
$ npm start

# build library source code
$ npm run build

# build library source code in watch mode
$ npm run build:watch

# build docs
$ npm run docs:build

# check your project for potential problems
$ npm run doctor
```

## LICENSE

MIT
npm package: @laozei/normalize.css
Description: Reset your website to a reasonable style
Latest version: 2.0.0

# Installation

#### NPM

``` bash
npm install @laozei/normalize.css
```

#### YARN

``` bash
yarn add @laozei/normalize.css
```

#### PNPM

``` bash
pnpm install @laozei/normalize.css
```

---

# Example

#### When using with `js`

```js
import "@laozei/normalize.css";
```

#### When using with `css`

```scss
@import "@laozei/normalize.css";
```
npm package: @laozhao/autofontsize
Description: 根据元素宽度自适应文字字号大小
Author: laozhao
Latest version: 0.0.2

```
/**
 * @desc 根据内容自适应字号
 * @param {string} [text] - 显示的内容
 * @param {number} [maxFontSize] - 最大字号
 *
 * @example
 * <div style="display: inline-block;width: 100px;">
 *   <autofontsize text="这是文字" :maxFontSize="20"></autofontsize>
 * </div>
 */

```
npm package: @laozhu/babel-preset
Description: Shareable @babel preset of @laozhu
Author: Ritchie Zhu
Latest version: 1.1.3

# @laozhu/babel-preset

[![Version](https://img.shields.io/npm/v/@laozhu/babel-preset.svg)](https://npm.im/@laozhu/babel-preset) [![Weekly Downloads](https://img.shields.io/npm/dw/@laozhu/babel-preset.svg)](https://npm.im/@laozhu/babel-preset)

Shareable @babel preset of @laozhu.
npm package: @laozhu/commitlint-config
Description: Shareable commitlint and @commitizen config of @laozhu
Author: Ritchie Zhu
Latest version: 1.1.0

# @laozhu/commitlint-config

[![Commitizen Friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Version](https://img.shields.io/npm/v/@laozhu/commitlint-config.svg)](https://npm.im/@laozhu/commitlint-config) [![Weekly Downloads](https://img.shields.io/npm/dw/@laozhu/commitlint-config.svg)](https://npm.im/@laozhu/commitlint-config)

Shareable commitlint and @commitizen config of @laozhu.

## Installation

Use npx to install peerdeps automatically or install peerDependencies with npm/yarn manually.

```bash
# Install with npx
$ npx install-peerdeps --dev @laozhu/commitlint-config

# Install with NPM
$ npm i -D @commitlint/cli @commitlint/prompt commitizen @laozhu/commitlint-config

# Install with yarn
$ yarn add --dev @commitlint/cli @commitlint/prompt commitizen @laozhu/commitlint-config
```

## Usage

After installation, you have two methods to use this configuration.

### The first method

Create a `commitlint.config.js` or `.commitlintrc.js` file in your project root, then require this package in the file.

```javascript
module.exports = {
  extends: ['@laozhu'], // => @laozhu/commitlint-config
};
```

You can also overwrite any rules in this configuration.

```javascript
module.exports = {
  extends: ['@laozhu'], // => @laozhu/commitlint-config
  rules: {
    'header-max-length': [0, 'always', 72],
  },
};
```

### The second method

If your project have a package.json file, add "commitlint" key in your this file.

```json
{
  "name": "my-cool-project-name",
  "version": "1.0.0",
  "commitlint": {
    "extends": ["@laozhu"]
  }
}
```

## With git emoji 🚀

If you want to add git emojis in your commit message, you should extend from emoji version preset.

```javascript
module.exports = {
  extends: ['@laozhu/commitlint-config/emoji'],
};
```

## Use with commitizen

Add a "commit" scripts in the package.json, add `@commitlint/prompt` as commitizen's adapter, now you can use `npm run commit` or `yarn commit` to replace the `git commit` command.

```json
{
  "name": "my-cool-project-name",
  "version": "1.0.0",
  "commitlint": {
    "extends": ["@laozhu"]
  },
  "scripts": {
    "commit": "git-cz"
  }
}
```

## Use with husky

With husky, you can add a `commit-msg` hook to link message before real commit.

```json
{
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}
```

## License

MIT
npm package: @laozhu/eslint-config
Description: Shareable @eslint config of @laozhu
Author: Ritchie Zhu
Latest version: 1.3.0

# @laozhu/eslint-config

[![Version](https://img.shields.io/npm/v/@laozhu/eslint-config.svg)](https://npm.im/@laozhu/eslint-config) [![Weekly Downloads](https://img.shields.io/npm/dw/@laozhu/eslint-config.svg)](https://npm.im/@laozhu/eslint-config)

Shareable @eslint config of @laozhu.
npm package: @laozhu/prettier-config
Description: Shareable @prettier config of @laozhu
Author: Ritchie Zhu
Latest version: 1.1.1

# @laozhu/prettier-config

[![Version](https://img.shields.io/npm/v/@laozhu/prettier-config.svg)](https://npm.im/@laozhu/prettier-config) [![Weekly Downloads](https://img.shields.io/npm/dw/@laozhu/prettier-config.svg)](https://npm.im/@laozhu/prettier-config)

Shareable @prettier config of @laozhu.

## Installation

```bash
# Install with npx
$ npx install-peerdeps --dev @laozhu/prettier-config

# Install with NPM
$ npm i -D @laozhu/prettier-config prettier

# Install with yarn
$ yarn add --dev @laozhu/prettier-config prettier
```

## Usage

After installation, you have two methods to use this configuration.

### The first method

Create a `.prettierrc.js` or `prettier.config.js` file in your project root, then require this package in the file.

```javascript
module.exports = require('@laozhu/prettier-config');
```

You can also overwrite any properties in this configuration.

```javascript
module.exports = {
  ...require('@laozhu/prettier-config'),
  proseWrap: 'never',
};
```

### The second method

If your project have a `package.json` file, add "prettier" key in your this file.

```json
{
  "name": "my-cool-project-name",
  "version": "1.0.0",
  "prettier": "@laozhu/prettier-config"
}
```

_Note: This method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, use the first method._

## Use with vscode

Search and install a vscode extension [prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode), then add extension settings in vscode settings file.

```jsonc
{
  // Prettier
  "prettier.printWidth": 100,
  "prettier.tabWidth": 2,
  "prettier.useTabs": false,
  "prettier.semi": true,
  "prettier.singleQuote": true,
  "prettier.quoteProps": "as-needed",
  "prettier.jsxSingleQuote": false,
  "prettier.trailingComma": "all",
  "prettier.bracketSpacing": true,
  "prettier.jsxBracketSameLine": false,
  "prettier.arrowParens": "avoid",
  "prettier.proseWrap": "preserve",
  "prettier.htmlWhitespaceSensitivity": "css",
  "prettier.endOfLine": "lf",
  "prettier.requireConfig": true,
  // Work together with eslint and stylelint
  "prettier.eslintIntegration": true,
  "prettier.stylelintIntegration": true,
  "prettier.disableLanguages": ["javascript", "typescript", "javascriptreact", "typescriptreact"]
}
```

## Ignoring files

If you don't want prettier to format some files of your project, create a `.prettierignore` file in your project root, then add these files or directories in this file, it's the same as writing a `.gitignore` file.

## License

MIT
npm package: @laozhu/tsconfig
Description: Shareable tsconfig.json file and generator of @laozhu
Author: Ritchie Zhu
Latest version: 1.3.1

# @laozhu/tsconfig

[![Version](https://img.shields.io/npm/v/@laozhu/tsconfig.svg)](https://npm.im/@laozhu/tsconfig) [![Weekly Downloads](https://img.shields.io/npm/dw/@laozhu/tsconfig.svg)](https://npm.im/@laozhu/tsconfig)

Shareable tsconfig.json file and generator of @laozhu

## Installation

```bash
# Install with npx
$ npx install-peerdeps --dev @laozhu/tsconfig

# Install with NPM
$ npm i -D @laozhu/tsconfig typescript

# Install with yarn
$ yarn add --dev @laozhu/tsconfig typescript
```

## Usage

After installation, create your own `tsconfig.json` file, then extends from this package.

```json
{
  "extends": "@laozhu/tsconfig",
  "compilerOptions": {
    "baseUrl": ".",
    "rootDir": ".",
    "outDir": "dist",
    "paths": {
      "@/*": ["src/*"]
    }
  }
}
```

There are four shareable configs in the package, the default export of this package is modern react project.

- node: Node backend or CLI project
- react: React modern (esnext) project
- react-legacy: React legacy (es5) project
- react-native: React native project

You can extends them as below, then overwirte properties with your own prefers.

```json
{
  "extends": "@laozhu/tsconfig/node",
  "compilerOptions": {
    "allowJs": true,
    "baseUrl": ".",
    "rootDir": ".",
    "outDir": "dist",
    "module": "commonjs",
    "paths": {
      "@/*": ["src/*"]
    }
  },
  "exclude": ["some-excluded-folder"]
}
```

## CLI

If you want to generate your own `tsconfig.json` file, just run `npx tsconfig` in your project root.

```bash
$ npx @laozhu/tsconfig
? Pick up type of your typescript project: (Use arrow keys)
  Node backend or CLI project
❯ React modern (esnext) project
  React legacy (es5) project
  React native project
```

## Notes

- Check [node.green](https://node.green/) for node.js es2015 support infomation.
- `node_modules` and `outDir` will be excluded by default, you don't need to exclude them manually.
- Remove `outDir` from shareable config because of [this issue](https://github.com/Microsoft/TypeScript/issues/29172).

## License

MIT