open-index/open-npm huggingface dataset:
npm package: @sunlcswap/sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 1.0.1

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [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/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-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: @sunlove123/tiny
Description: Removes all spaces from a string
Latest version: 4.1.0

# @bamblehorse/tiny

[![npm (scoped)](https://img.shields.io/npm/v/@bamblehorse/tiny.svg)](https://www.npmjs.com/package/@bamblehorse/tiny)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@bamblehorse/tiny.svg)](https://www.npmjs.com/package/@bamblehorse/tiny)

Removes all spaces from a string.

## Install

```
$ npm install @bamblehorse/tiny
```

## Usage

```js
const tiny = require("@bamblehorse/tiny");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1
```
npm package: @sunly95/gen-version
Description: update version in package.json, and generate CHANGELOG
Author: Sunly
Latest version: 2.3.0

# @sunly95/gen-version

中文 ｜ [English](./README_EN.md)

修改package.json版本号，并生成CHANGELOG.md

<img src="./screenshot.png" width=500 />

## 使用

### 安装

```bash
# npm
npm install @sunly95/gen-version@latest --save-dev

# yarn
yarn add @sunly95/gen-version@latest --dev
```

### 通过命令更新版本

```bash
npx -p @sunly95/gen-version update
```

### 手动调用更新函数更新版本

#### commonJS

```js
// build/index.js
const main = require("@sunly95/gen-version")
main()
```

#### ESModule

```js
// build/index.js
import main from "@sunly95/gen-version"
main()
```

每次调用`build/index.js`时就会自动生成`CHANGELOG.md`并修改`package.json`中的版本号

### 使用脚本配合build命令打包

```
// package.json
{
  "script": {
    "build": "node ./build/index.js && yarn run build",
    "update:version": "npx -p @sunly95/gen-version update"
  }
}
```

之后在打包时使用 `npm run build` 或者 `npm run update:version` 就可以直接调用`build/index.js`并打包

## 配置

运行命令：

```bash
npx -p @sunly95/gen-version init
```

会在项目根目录生成`gen-version.config.json`文件，可以自由配置，默认配置项如下：

```
// gen-version.config.json
{
  title: "CHANGELOG",  // CHANGELOG 标题
  checkVersion: true,  // 检查版本号是否符合 Major.Minor.Patch 的格式
  changelogTemplate: [
    { 新增: "这里记录新增加了哪些功能／接口" },
    { 更改: "这里记录更改了功能／接口变更" },
    { 修复: "这里记录解决了哪些问题" },
    { 废弃: "不建议使用的功能／接口，将来会删掉" },
    { 移除: "之前不建议使用的功能／接口，这次真的删掉了" },
    { 样式: "这里记录了样式的更改" },
    { 类型: "这里记录了类型的更改" },
    { 其他: "这里记录性能优化和安全性增强等改进" }
  ] // CHANGELOG 模板，可以自定义
}
```

## CHANGELOG

[CHANGELOG.md](./CHANGELOG.md)

## LICENSE

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)