open-index/open-npm huggingface dataset:
npm package: @sukuasoft/stat-js
Description: It is a lightweight and easy-to-use library for Node.js that offers basic functions essential for simple statistical analysis
Author: Sebastiao Sukuakueche
Latest version: 1.0.1

# Stat JS
- It is a lightweight and easy-to-use library for Node.js that offers basic functions essential for simple statistical analysis


## Test average
```
console.log(average([
    1, 7, 8, 4,
]))

//result: 5
```

## Test median
```
console.log(median([
    1, 7, 8, 4, 9
]))

//result: 7
```

## Test weighted average
```
console.log(average_weighted([
1, 23, 3
],  [
    4, 
    5, 1
]))

//result: 12.2
```

## Test mode
```
console.log(mode([
    1, 2, 3, 4, 1, 3, 4, 5, 1, 3, 1.2, 1.2, 1.2, 1.2, 3
]))

//result: [3, 1.2]
```
npm package: @sukurapa/writer-couch
Description: CouchDB writer for the Sukurapa data gathering framework
Author: Luis Nabais
Latest version: 0.4.0

## Synopsis

CouchDB writer based on [nano](https://github.com/apache/couchdb-nano) for [Sukurapa](../../).

## Code Example
The CouchDB writer takes a connection string and a store name. If the store does not exist it'll be created on the first run.

There's also the option to delete the store before each run.

```javascript
const CouchWriter = require('@sukurapa/writer-couch');

const instance = new CouchWriter({
    "connection": "http://127.0.0.1:5984", // The connections string (mandatory)
    "storeName": "my_store", // The store name (mandatory)
    "deleteOnStart": false // whether to delete the store before starting (default: false)
});
```

## Installation

Install using [NPM](http://npmjs.com):

`npm install @sukurapa/writer-couch`

## License

Licensed under the MIT license
npm package: @sukurapa/writer-csv
Description: CSV writer for the Sukurapa data gathering framework
Author: Luis Nabais
Latest version: 0.4.0

## Synopsis

Simple file-based CSV writer for [Sukurapa](../../).

## Code Example
The CSV writer takes file names for data and statistics output files. It also requires a list of columns to print to the file (the id is always written first)

```javascript
const CSVWriter = require('@sukurapa/writer-csv');

const instance = new CSVWriter({
    "columns": [ // List of columns to output
        {
            "prop": "timestamp", // The property name outputed by the writter (mandatory)
            "name": "Timestamp" // The name to use in the header (optional, prop name will be used if missing)
        }
    ],
    "outFile": "out.csv", // The output file for the data (mandatory)
    "statsFile": "stats.csv", // The output file for the statistics (mandatory)
    "deleteOnStart": false // whether to delete the files before starting (default: false)
    "separator": ",", // The data separator (default: comma)
    "lineSeparator": "\n", // The line separator (default: new line)
    "arraySeparator": ";" // The array separator (default: semicolon)
});
```

## Installation

Install using [NPM](http://npmjs.com):

`npm install @sukurapa/writer-csv`

## License

Licensed under the MIT license
npm package: @sula/colorfly
Description: colorfly
Author: sula
Latest version: 1.0.2

### @ali/sula-colorfly

> 主题库

#### changelog

* v1.0.1: 增加样式的入口文件
* v1.0.0: 初始化

#### 使用

    tnpm i @ali/sula-colorfly -S