open-index/open-npm huggingface dataset:
npm package: @iusername/percentile
Description: Calculate a percentile for given array of values
Author: YM
Latest version: 1.0.2

# 介绍
本工具根据 excel 中 percentile 算法计算百分位数值

如果你是需要求数据中最接近所给百分位的值的话可以使用`percentile`而非`@iusername/percentile`

# 安装
```bash
npm i @iusername/percentile

// 或者
yarn add @iusername/percentile
```

# 使用
```js
// node
const Percentile = require('@iusername/percentile')

// ES Module
import Percentile from '@iusername/percentile'
```

**只求值一次的情况**
```js
var percentile = new Percentile()

// mock data
const data = [2, 3, 5, 5, 5, 7, 20, 21]

var res = percentile.incsOnce(data, [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100])
// res: [2, 2.7, 3.8, 5, 5, 5, 5.4, 6.8, 14.8, 20.3, 21]

var res = percentile.incOnce(data, 90)
// res: 20.3
```
**需要多次求值时，可以通过初始化时传入 data 或者 init(data) 来缓存处理好的 data 数据减少每次求值所耗时间**
```js
const data = [2, 3, 5, 5, 5, 7, 20, 21]

var percentile = new Percentile(data)
// 或者下面注释部分也行
// PS: init 后会覆盖上一次 init 或者初始化时的缓存数据
/*
  var percentile = new Percentile()
  percentile.init(data)
*/

// inc 方式
var res = percentile.incValue(90)
// res: 20.3

var res = percentile.incValues([80, 90, 100])
// res: [14.8, 20.3, 21]

// exc 方式
var res = percentile.excValue(90)
// res: '#NUM!'

var res = percentile.incValues([80, 90, 100])
// res: [20.2, '#NUM!', '#NUM!']
```

# 实例方法
- 方法中的参数说明
1. data: 用于计算的原数组
2. P:百分位值 1~100, inc时为闭区间，exc时为开区间
3. PList: 需要一次求得的多个百分位值得数组
4. accuracy:结果的小数位数精度值，默认为 1 表示一位小数

- init(data: number[])
>初始化 percentile对象数据，后续则不需要再传入相同数据进行计算了
- incValue(P: number, accuracy?: number)
>根据 PERCENTILE.INC 获取结果
- incValues(PList: number[], accuracy?: number)
>根据 PERCENTILE.INC 获取多个对应结果
- excValue(P: number, accuracy?: number)
>根据 PERCENTILE.EXC 获取结果
- excValues(PList: number[], accuracy?: number)
>根据 PERCENTILE.EXC 获取多个对应结果
- incOnce(data: number[], P: number, accuracy?: number)
>根据 PERCENTILE.INC 获取结果，data 不会被缓存，适用于只计算一次即可的情况，用完后实例对象会恢复原先缓存data
- incsOnce(data: number[], PList: number[], accuracy?: number)
> incOnce 的多值用法
- excOnce(data: number[], P: number, accuracy?: number)
>根据 PERCENTILE.EXC 获取结果，data 不会被缓存，适用于只计算一次即可的情况，用完后实例对象会恢复原先缓存data
- excsOnce(data: number[], PList: number[], accuracy?: number)
> excOnce 的多值用法

# 静态方法
- help()
>查看计算说明


# ！注意
>计算说明
```js
// 运行下面代码后再控制台查看
Percentile.help()
```


# Microsoft Office 中 PERCENTILE 函数说明
[PERCENTILE 函数](https://support.office.com/zh-cn/article/percentile-%E5%87%BD%E6%95%B0-91b43a53-543c-4708-93de-d626debdddca)

# License
[MIT](https://opensource.org/licenses/MIT)
npm package: @iuui/element
Description: Web components base ui.
Author: ikrong
Latest version: 1.0.7

# IUUI

这是一个 WebComponents

# 支持功能

-   [x] Button
-   [x] Text
-   [x] Icon
-   [x] Modal
-   [x] Dialog (confirm/alert)
-   [x] Form/FormItem
-   [x] Input
npm package: @iuv-tools/changelog
Description: script for package's CHANGELOG.md
Author: famanoder
Latest version: 1.0.0
Deprecated: this package have been archived. please install the @all-in-js/changelog instead.

# changelog

> a cli tool that could generate CHANGELOG.md file base on your git logs by version, maybe it could be one of your automatic tools about your workflow!

## Install

```js
npm i -g @iuv-tools/changelog
```

## Example

```js
changelog -c "feat: use a nice tool to generate CHANGELOG.md" -p -f feat,fix,test,docs
```

## Props

* **commit c**: use git commit, default false
* **push p**: use git push, default false
* **commitFields f**: flag of git commit message, default feat,fix,test,docs
* **repository r**: repository url, default from package.json
* **version v**: new version, default from package.json
npm package: @iuv-tools/release
Description: script for release package
Author: famanoder
Latest version: 1.0.1
Deprecated: this package have been archived. please install the @all-in-js/release instead.

# release

> a step by step cli tool for release npm packages

## Install

```js
npm i -g @iuv-tools/release
```

## Example

```js
release --step lint,test,build
```

## Props

* **gittag gt**: use git tag
* **branch b**: check current branch
* **scripts s step**: some steps, from npm scripts
* **afterAllScripts e end**: some scripts after bpm publish
npm package: @iuv-tools/utils
Description: > 常用的脚本操作函数集合，避免易出bug的点，统一交互风格
Author: famanoder
Latest version: 1.0.0
Deprecated: this package have been archived. please install the @all-in-js/utils instead.

# utils

> 常用的脚本操作函数集合，避免易出bug的点，统一交互风格

## Install

```
npm i @iuv-tools/utils
```

## Example

> 该包提供了一批易出bug的函数、易于调用的函数，如resolve, resolveCWD, resolveDirname, resolveHome等

* git操作
```js
// 有文件更改则提交更改

const { git } = require('@iuv-tools/utils');

const { clean } = git.hasChanges;

if (!clean) {
  git.commitAll('update sth.');
}
```

* vue-cli风格的logger
```js
const { log } = require('@iuv-tools/utils');

log.info('msg', 'tag');
```

* 命令行spinner
```js
const { spinner } = require('@iuv-tools/utils');

spinner.step('start...');
// do sth
spinner.success('success');
```

* npm操作
```js
const { npm } = require('@iuv-tools/utils');

const pkgTags = npm.tag.list('@iuv-tools/utils');
```

* 钉钉群消息提醒
```js
const { DDWebhook } = require('@iuv-tools/utils');

const secret = 'srcret';
const webhook = 'webhook';
new DDWebhook({
  secret,
  webhook
}).sendMessage('msg')
.then(console.log)
.catch(console.log);
```

* ast抽象语法树操作
```js
const { astCtrl } = require('@iuv-tools/utils');

function visitorCreater(t) {
  // 
}

const code = astCtrl('code', visitorCreater);
```

## Plan
持续完善中，欢迎加入！
npm package: @iuwebstudios/studio-ui
Description: Studio UI components
Author: asikpradhan
Latest version: 0.1.9

![Test release and publish](https://github.com/iuwebstudios/studio-ui/workflows/Test%20release%20and%20publish/badge.svg)

# Studio-UI

A React/Typescript UI component library that extends [rivet-react] (https://indiana-university.github.io/rivet-react)

## Using Studio-UI

To use this component library:

* Add the npm package to your project
    ```
    $ npm install @iuwebstudios/studio-ui
    ```

## Installation guide

In the project directory, you can run:

### `npm start`

Launches the component explorer on port 6006

### `npm test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more
information.

### `npm run build`

Builds the package library.

## Coding rules

We use [GitHub Flow](https://guides.github.com/introduction/flow/) for our project workflow. To ensure consistency
throughout the source code, keep these rules in mind as you are working:

* Create pull request against develop to merge your code.
* All features or bug fixes **must be tested** by one or more [specs][unit-testing].

### Pull request format

```
<subject>

* changes 1
* changes 2

fixes/closes #<github issue number>

```

### Git commit format

```
<type>: <subject>
<BLANK LINE> 
<body> optional
```

* Any line of the commit message cannot be longer 100 characters. This allows the message to be easier to read on GitHub
  as well as in various git tools.
* The subject contains succinct description of the change:
    * use the imperative, present tense: "change" not "changed" nor "changes"
    * no dot (.) at the end
* Commit type:
    * feat: a new feature
    * fix: a bug fix
    * refactor: a code change that neither fixes a bug nor adds a feature
    * test: adding missing tests
    * chore: changes to the build process or auxiliary tools and libraries such as documentation generation
npm package: @iux/check-port
Description: Check if a port is used and kill the process as you like.
Author: creeperyang
Latest version: 1.0.0

# check-port

[![Build Status](https://travis-ci.com/creeperyang/check-port.svg?token=ntKBYpfYUQDyzDxTiJct&branch=master)](https://travis-ci.com/creeperyang/check-port)
[![npm version](https://badge.fury.io/js/%40iux%2Fcheck-port.svg)](https://badge.fury.io/js/%40iux%2Fcheck-port)

> Check if a port is used and kill the process as you like.

A simple cli tool help to check port usage and kill the corresponding process at **Windows** platform.

## Installation

```bash
npm i -g @iux/check-port
```

## Usage

![image](https://user-images.githubusercontent.com/8046480/58946779-35a1b380-87b9-11e9-9149-96bcaca73354.png)

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcreeperyang%2Fcheck-port.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcreeperyang%2Fcheck-port?ref=badge_large)