# it520

> 这个包是用来干什么的

Latest version **1.0.0** (published 2022-10-12) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-10-12 |
| First published | 2022-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | it520 |
| Keywords | it520, it520, it520, it520, it520 |

## Links

- npm: https://www.npmjs.com/package/it520
- npm.io page: https://npm.io/package/it520

## Recent versions

- 1.0.0 (latest) — 2022-10-12

## README

## 这是一个关于数组求和的包

```js
 //这里是相应的js代码

    // 求数组的和

function getSum(arr) {

    let  sum = 0
    for (let i = 0; i < arr.length; i++) {
        
            sum += arr[i]
    }

    console.log(sum);


}
```

```js

    //这里注意  写完以后 需要把这个函数暴露出去
    module.exports = {

        getSum

    }

```

```js
//在其他文件  下 导入这个包的 文件名 就可以 使用了 

    // 要想使用包 必须导入进来

const it520 = require('it520')

console.log(it520);

it520.getSum([1,2,3,4,5])


```

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