# need_tools

> js tool for user

Latest version **0.0.23** (published 2019-11-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install need_tools
pnpm add need_tools
yarn add need_tools
bun add need_tools
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.23 |
| Published | 2019-11-14 |
| First published | 2019-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | KL |
| Maintainers | konglin |
| Keywords | tool, js |

## Links

- npm: https://www.npmjs.com/package/need_tools
- Repository: https://github.com/konglinlin/need_tools
- Homepage: https://github.com/konglinlin/need_tools#readme
- Issues: https://github.com/konglinlin/need_tools/issues
- npm.io page: https://npm.io/package/need_tools

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.23 (latest) — 2019-11-14
- 0.0.22 — 2019-11-05
- 0.0.21 — 2019-10-17
- 0.0.20 — 2019-10-17
- 0.0.19 — 2019-10-17
- 0.0.18 — 2019-10-17
- 0.0.17 — 2019-10-17
- 0.0.16 — 2019-10-11
- 0.0.15 — 2019-10-11
- 0.0.14 — 2019-10-11
- 0.0.13 — 2019-10-11
- 0.0.12 — 2019-10-11
- 0.0.11 — 2019-10-11
- 0.0.10 — 2019-10-11
- 0.0.9 — 2019-10-10
- … 8 more at https://npm.io/package/need_tools/versions

## README

# 工具说明

> 使用Gulp进行打包

## Base

``` javascript
  import { baseTool, numberTool } from 'need_tools';
  () => {
    // 深拷贝方法
    /**
     * @param {any} obj: 深拷贝目标对象
    **/
    const obj = {};
    const newObj = baseTool.deepCopy(obj);
  };
  () => {
    // 生成随机字符串方法
    /**
     * @param {number} arg1: 随机字符串长度(可选)
     * @param {[string]} arg2: 字符串生成字典(可选)
     * @return {string} : 输出一个字符串
    **/
    const randomStr = baseTool.createRandomStr(arg1?, arg2?);
  };
  () => {
    // 浮点数求和方法
    /**
     * @param {number}  args: 需要求和的数字
     * @return {number} : 输出一个数字
    **/
    const sum = numberTool.float.sum(num1, num2, ...);
  }
```

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