An open API service indexing awesome lists of open source software.

https://github.com/kennytian/find-number-position


https://github.com/kennytian/find-number-position

eslint nodejs prettier rollup terser typescript

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# 找某个数字的位置

## 系统环境
- Windows 7+, macOS, Linux 操作系统不限
- Node.js 16+
- PNPM 6+

## 安装依赖

```bash
pnpm install
```
> 注意:如果没有 pnpm,请先全局安装 `npm i -g pnpm`

## 编译并压缩混淆代码
```bash
pnpm run build
```

## 运行程序

```bash
# 生成测试文件
pnpm run generate-test-file
```

```bash
# 找到 242 的位置
pnpm run find-number-position 242
```

## 单元测试
```bash
pnpm run test
```

## 代码规范
```bash
pnpm run lint
```