# finch-tools

> May be some useful tools for finch (tsfinch) .

Latest version **0.2.5** (published 2022-08-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install finch-tools
pnpm add finch-tools
yarn add finch-tools
bun add finch-tools
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2022-08-23 |
| First published | 2020-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 30 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | BenjaminHsu |
| Maintainers | benjaminhsu0072 |

## Links

- npm: https://www.npmjs.com/package/finch-tools
- Repository: https://gitee.com/benjaminhsu/finch-tools
- npm.io page: https://npm.io/package/finch-tools

## Recent versions

- 0.2.5 (latest) — 2022-08-23
- 0.2.4 — 2022-08-23
- 0.2.3 — 2022-07-31
- 0.2.2 — 2021-12-13
- 0.2.1 — 2021-12-13
- 0.2.0 — 2021-12-13
- 0.1.0 — 2020-05-10

## README

# finch-tools
一些有用的工具
May be some useful tools for finch.
 
* fixIntegerLength : 正整数补位

```typescript
import  {fixIntegerLength} from 'finch-tools';
fixIntegerLength(123,5);
//"00123"
```

* getRandomString ： 随机字符串

```typescript
import  {getRandomString} from 'finch-tools';
getRandomString(5);
//"AYIGJ"
getRandomString();
//"YUIJhgftYuHGVbnmGFtRfVNKHKklloYv"
```

* getReadableDate ： 可读时间戳

```typescript
import  {getReadableDate} from 'finch-tools';
getReadableDate(5);
//"2020_02_26_14_25__325"
```

---
_Source: https://npm.io/package/finch-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
