open-index/open-npm huggingface dataset:
npm package: @mineot/gen_password
Description: Password Generator
Author: Fabiano Pires
Latest version: 1.4.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# GenPassword

Generate Password API, is a easy way to generate passwords

## Install

```
npm i @mineot/gen_password
```

## Use

```javascript
import { GenPassword, TypeEnum, DimensionEnum, GenPasswordError } from "@mineot/gen_password";

try {
  const password = await GenPassword(TypeEnum.ONLY_NUMBERS, DimensionEnum.FOUR);
  console.log(password);
} catch (err) {
  // err is instanceof GenPasswordError
  console.error(err);
}

GenPassword(TypeEnum.ONLY_NUMBERS, DimensionEnum.FOUR)
  .then((res) => {
    console.log(res);
  })
  .catch((err) => {
    // err instanceof GenPasswordError
    console.error(err);
  });
```

## Type Enum

| Types         | Description                                                          |
| ------------- | -------------------------------------------------------------------- |
| ONLY_NUMBERS  | The password will only contain numbers                               |
| ONLY_ALPHAS   | The password will only contain characters                            |
| ALPHA_NUMERIC | The password will contain characters and numbers                     |
| COMPLEX       | The password will contain characters, numbers and this special chars |

## Dimension Enum

| Dimensions   | Description                      |
| ------------ | -------------------------------- |
| FOUR         | The max password size will be 04 |
| SIX          | The max password size will be 06 |
| EIGTH        | The max password size will be 08 |
| TEN          | The max password size will be 10 |
| TWELVE       | The max password size will be 12 |
| FOURTEEN     | The max password size will be 14 |
| SIXTEEN      | The max password size will be 16 |
| EIGHTEENTEEN | The max password size will be 18 |
| TWENTY       | The max password size will be 20 |

## Exception

| Message             | Code | Instance         |
| ------------------- | ---- | ---------------- |
| Invalid Type        | 400  | GenPasswordError |
| Invalid Dimension   | 400  | GenPasswordError |

## License

[MIT License](./LICENSE)

## Donate

Help me with this project: [Donate Here](./DONATE.md)
npm package: @mineproxy/autologin
Description: Auto-login plugin for MineProxy
Author: Bjornskjald
Latest version: 1.0.3

# @mineproxy/autologin

> Auto-login plugin for MineProxy

## Installation

In the MineProxy directory run:
```bash
npm install @mineproxy/autologin
```

Add `@mineproxy/autologin` to plugins list

## Configuration

Trigger (the login prompt) cannot be empty or null!

```json
{
  "autologin": {
    "trigger": "",
    "trigger_color": "",
    "users": {}
  }
}
```

## Example config

```json
{
  "autologin": {
    "trigger": "Please, login with the command: /login <password>",
    "trigger_color": "red",
    "users": {
      "Bjornskjald": "MyPassword123"
    }
  }
}
```
npm package: @mineproxy/hidenseek
Description: Hide'n'Seek plugin for MineProxy
Author: Bjornskjald
Latest version: 1.0.1

# @mineproxy/hidenseek

> Hide'n'Seek (cheat) plugin for MineProxy

## Installation

In the MineProxy directory run:
```bash
npm install @mineproxy/hidenseek
```

Add `@mineproxy/hidenseek` to plugins list
npm package: @mineproxy/logger
Description: Logger plugin for MineProxy
Author: Bjornskjald
Latest version: 1.0.3

# @mineproxy/logger

> Logger plugin for MineProxy

## Installation

In the MineProxy directory run:
```bash
npm install @mineproxy/logger
```

Add `@mineproxy/logger` to plugins list

## Configuration

```json
{
  "logger": {
    "dump": [],
    "dump_all": false,
    "dump_blacklist": []
  }
}
```

## Example config

```json
{
  "logger": {
    "dump": [
      "open_window",
      "close_window",
      "set_slot",
      "window_items",
      "craft_progress_bar",
      "transaction",
      "set_creative_slot",
      "enchant_item",
      "window_click"
    ],
    "dump_all": false,
    "dump_blacklist": [
      "keep_alive",
      "update_time",
      "entity_velocity",
      "rel_entity_move",
      "entity_look",
      "entity_move_look",
      "entity_teleport",
      "entity_head_rotation",
      "position"
    ]
  }
}
```
npm package: @miner-mobile/capsule
Description: @miner-mobile/capsule
Author: 张稳
Latest version: 1.0.2

# @miner-mobile/capsule

> @miner-mobile/capsule.

See our website [capsule](https://www-test05.dongfangfuli.com/componentsh5/components/capsule) for more information.

## Install

Using npm:

```bash
$ npm install --save @miner-mobile/capsule
```

or using yarn:

```bash
$ yarn add @miner-mobile/capsule
```


### 属性
Props

| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| list | 运营位的数据源 | `OperationPic[]` | []
| backgroundLink | 背景图盘的url | `string` | - |
| backgroundHeight | 背景图的模块高度 | `number` | `图片的高度` |
| titleName | 中文标题 | `string` | - |
| onItemClick | 运营位的点击事件 | (item: OperationPic) => void | - |
| onHeaderClick | 背景点击事件 | (linkUrl: string ｜ undefined) => void  | - |

OperationPic

| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| imgUrl | 运营位的图片url | `string` | - 
| operationName | 运营位的中文标题 | `string` | - |
| linkUrl | 运营位的跳转链接 | `string` | - |
npm package: @miner-mobile/floating-bubble
Description: @miner-mobile/floating-bubble
Author: 张稳
Latest version: 1.2.13

# @miner-mobile/floating-bubble

> @miner-mobile/floating-bubble.

## Install

Using npm:

```bash
$ npm install --save @miner-mobile/floating-bubble
```

or using yarn:

```bash
$ yarn add @miner-mobile/floating-bubble
```

## Usage

```

import FloatingBubble from '@miner-mobile/floating-bubble';
export default () => {

  return (
    <div
      style={{
        textAlign: 'center',
      }}
    >
      <div style={{ height: '1000px', background: '#ccc' }}></div>
      <FloatingBubble
        axis="xy"
        magnetic="x"
        style={{
          '--initial-position-right': '24px',
          '--initial-position-bottom': '24px',
        }}
      >
        <div>
          <img
            style={{ width: '70px', height: '70px' }}
            draggable={false}
            src={'floatingImg'}
            alt=""
          />
        </div>
      </FloatingBubble>
    </div>
  );
};

```

## API

### props

<table class="table table-bordered table-striped">
    <thead>
    <tr>
        <th style="width: 100px;">name</th>
        <th style="width: 50px;">type</th>
        <th style="width: 50px;">default</th>
        <th>description</th>
    </tr>
    </thead>
    <tbody>
        <tr>
          <td>component</td>
          <td>React.Element/String</td>
          <td>'span'</td>
          <td>wrap dom node or component for children. set to '' if you do not wrap for only one child</td>
        </tr>
    </tbody>
</table>
npm package: @miner-mobile/goods-slider2
Description: @miner-mobile/goods-slider2
Author: 刘强
Latest version: 1.1.0

# @miner-mobile/goods-slider2

> @miner-mobile/goods-slider2.

See our website [goods-slider2](https://www-test05.dongfangfuli.com/componentsh5/components/goods-slider2) for more information.

## Install

Using npm:

```bash
$ npm install --save @miner-mobile/goods-slider2
```

or using yarn:

```bash
$ yarn add @miner-mobile/goods-slider2
```
npm package: @miner-mobile/slider-feature
Description: @miner-mobile/slider-feature
Author: 张稳
Latest version: 1.3.0

# @miner-mobile/slider-feature

> @miner-mobile/slider-feature.

See our website [slider-feature](https://www-test05.dongfangfuli.com/componentsh5/components/slider-feature) for more information.

## Install

Using npm:

```bash
$ npm install --save @miner-mobile/slider-feature
```

or using yarn:

```bash
$ yarn add @miner-mobile/slider-feature
```
npm package: @miner-org/bloodhound
Description: Detect entites attacking each other in mineflayer
Author: link0069
Latest version: 1.0.4

# bloodhound

Detect entites attacking each other in mineflayer (based on [mineflayer-bloodhound](https://github.com/Nixes/mineflayer-bloodhound))

## Example

```js
const mineflayer = require('mineflayer')
const bloodhound = require('bloodhound')

const bot = mineflayer.createBot({})

bot.loadPlugin(bloodhound)

bot.once('spawn', () => {
    // Reduces false positives with multiple entities in combat
    // But it might produce false negatives
    // Default: true
    bot.bloodhound.yawCorrelation = true

    // Enables detection for projectiles like arrows and tridents
    // If the latency is too high it might impact the reliablity
    // Default: true
    bot.bloodhound.projectileDetection = true
})

bot.on('entityAttack', (victim, attacker, weapon) => {
    const victimName = victim.username ?? victim.displayName
    const attackerName = attacker.username ?? attacker.displayName
    const weaponName = weapon?.displayName

    if (weapon) console.log(`${attackerName} attacked ${victimName} using ${weaponName}!`)
    else console.log(`${attackerName} attacked ${victimName}!`)
})
```
npm package: @mineral-ui/react-popper
Description: React wrapper around PopperJS.
Author: Travis Arnold
Latest version: 0.7.2-fix-popper-hide

> This is a hopefully-temporary fork of [react-popper](https://github.com/souporserious/react-popper) to fix [this issue](https://github.com/souporserious/react-popper/pull/45). You should use the official package, instead.
npm package: @mineru98/alpinejs-moment
Description: An alpine.js magic helper plugin wrapper for moment.js + locale
Author: iamiks
Latest version: 1.0.3

# Alpine.js plugin Moment With Locale

An Alpine JS **Moment Plugin** lets you programmatically monitor changes to the size of the screen

## Instalation

### Via script include

```html
<!-- You can choose the Locale. -->

<!-- Alpine Plugins -->
<script src="/js/moment.min.js" defer></script>
<!-- Alpine Plugins with Locale -->
<script src="/js/ko/moment.min.js" defer></script>
<!-- Alpine Plugins with Locale -->
<script src="/js/jp/moment.min.js" defer></script>

<script src="/js/alpine.js" defer></script>
```

### Via CDN

```html
<!-- You can choose the Locale. -->

<!-- Alpine Plugins -->
<script
    src="https://unpkg.com/@mineru98/alpinejs-moment@1.0.3/dist/moment.min.js"
    defer
></script>
<!-- Alpine Plugins with Locale -->
<script
    src="https://unpkg.com/@mineru98/alpinejs-moment@1.0.3/dist/ko/moment.min.js"
    defer
></script>
<!-- Alpine Plugins with Locale -->
<script
    src="https://unpkg.com/@mineru98/alpinejs-moment@1.0.3/dist/jp/moment.min.js"
    defer
></script>

<!-- Alpine Core -->
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
```

### Via NPM

```bash
npm i @mineru98/alpinejs-moment
```

```javascript
import Alpine from "alpinejs";

import moment from "@mineru98/alpinejs-moment/ko";
Alpine.plugin(moment);

window.Alpine = Alpine;
window.Alpine.start();
```

# $moment()

Magic Helper

```html
<div x-data x-text="$moment().format('YYYY-MM-DD dddd')"></div>
```
npm package: @mineru98/oqo
Description: JavaScript Object Query Object
Author: Mineru98
Latest version: 1.1.3

# JavaScript Object Query Object

OQO is a package which can help you to query from JavaScript objects. It is inspired by SQL.

-   [npm](https://www.npmjs.com/package/@mineru98/oqo)
-   [GitHub](https://github.com/Mineru98/oqo)

## Installation

```shell script
npm install oqo
```

## Example

### Usage

```javascript
const OQO = require("oqo");

const people = [
	{ name: "John", age: 25, gender: "male" },
	{ name: "Alice", age: 14, gender: "female" },
	{ name: "Bob", age: 19, gender: "male" },
	{ name: "Charlie", age: 20, gender: "female" },
	{ name: "David", age: 21, gender: "male" },
];

const result = OQO.select("name", "gender").from(people).where("age >= 20").order("age", "desc").run();

console.log(result);
```

### Result

```javascript
[
	{ name: "John", gender: "male" },
	{ name: "David", gender: "male" },
	{ name: "Charlie", gender: "female" },
];
```

## Details

### select

`select` is always needed. An array of keys should be passed.

### from

`from` is always needed. A single object or an array of objects is needed. The objects should have the keys listed in `select`.

### where

`where` can be used to give a condition. The condition should look like `key operator operand`(2 spaces are necessary). Currently, 5 operators (`>`, `>=`, `=`, `<`, `<=`) are supported.

### order

`order` can be used to order the result objects by a key. `asc` or `desc` should be passed as a second value.

### run

`run` is used to finish the query and get the results.
npm package: @minerui/m-ui
Description: miner UI framework for Vue 3 :sunny:
Author: A
Latest version: 2.0.13



> vue3组件库
> 一些业务组件,少量基础组件


[online document](https://m-ui-8gu40626d678e3fb-1258857408.ap-shanghai.app.tcloudbase.com/)


## 安装


```shell
yarn add @minerui/m-ui
# 1.x需要安装额外样式库,2.x不需要
yarn add @minerui/mui-theme-chalk
```

## 样式引入


或者

```shell
# 1.x
import '@minerui/m-ui/dist/theme-chalk/index.css'
# 2.x
import '@minerui/mui-theme-chalk'
```



## 组件引入

- 1.x
- 
```ts
import { createApp } from 'vue'
import App from './App.vue'
import '@minerui/mui-theme-chalk/lib/index.css'

import MUI from '@minerui/m-ui/lib/m-ui'
createApp(App).use(MUI).mount('#app')
```

- 2.x

```ts
import { createApp } from 'vue'
import App from './App.vue'
import MUI from '@minerui/m-ui'
import '@minerui/m-ui/dist/theme-chalk/index.css'
createApp(App).use(MUI).mount('#app')
```

## 2.x不再支持单个组件引入

```ts
// 这种写法将不再支持
import {MCoinAvatar} from '@minerui/m-ui'
```

## tree-shaking

尚未开发

## 主题

###### 全局主题变量,一般是一些主题色

```css
:root {
    /* 颜色系列 */
--color-primary: #409eff;
--color-white: #ffffff;
--color-black: #000000;
--color-success: #00d97d;
--color-warning: #f6c343;
--color-danger: #e63757;
--color-info: #6d83a3;
--color-online: #2d7be5;
--color-stop: #12263f;
/* 边框颜色系列 */
--border-color-smoke-1: #e2eaf6;
--border-color-smoke-2: #e3ebf6;
--border-color-smoke-3: #edf2f9;

/* 字体颜色系列 */
--text-color-primary: #12273f;
--text-color-main: #283e59;
--text-color-info: #95a9c9;

/* 字体大小系列 */
--text-size-mini: 12px;
--text-size-small: 14px;
--text-size-medium: 16px;
--text-size-large: 18px;
/* 间距系列 */
 --space-size-mini: 4px;
}

```

##### 一些默认设置

```css
:root {
  font-size: var(--text-size-mini);
  box-sizing: border-box;
  color: var(--text-color-main);
}

*,
::before,
::after {
  box-sizing: inherit;
}
```

#### 覆盖变量

- 直接覆盖

```css
:root { 
    --color-primary: red;
}
```

- 组件作用域下的变量覆盖

```css
.m-coin-avatar {
    --coin-avatar-border-color:red;
}

```

- 如果不想影响到别的地方的同一个组件,加上scope

```vue
<style scoped>
.m-coin-avatar {
  --coin-avatar-border-color:red;
}

</style>
```

#### 仓库

> https://gitee.com/hhhsir/m-ui
npm package: @minerui/minerui
Description: Vue3 组件库
Author: jdcfe
Latest version: 0.0.9

# MinerUI 3

Vue3 组件库
    
[在线文档](https://minerui-4gf255c4270b10a0-1258857408.tcloudbaseapp.com/)

### TODO

 - 文档支持多语言
 - 分页组件重构
npm package: @minervaproject/html-text-collab-ext
Description: Collaborative extension for HTML textareas
Author: Convergence Labs, Inc.
Latest version: 0.1.4

## HTML Text Collaborative Extensions
[![Build Status](https://travis-ci.org/convergencelabs/html-text-collab-ext.svg?branch=master)](https://travis-ci.org/convergencelabs/html-text-collab-ext)

A set of utilities that enhances a normal HTML `<textarea>` element with collaborative editing capabilities. The enhanced `<textarea>` is able to render the cursor and selection of other collaborators. A tooltip with the collaborator's username can be flashed when remote edits are made. The utility also allows for non-disruptive modification of the `<textarea>` where the local user's selection and cursor are not impacted by changes to the `<textarea>`contents.

# Demo
The animation below shows the basic functionality provided by this library.

![demo graphic](./assets/shared-cursors-and-selections.gif "Shared Cursors and Selections")

You can see a live demo [here](https://examples.convergence.io/collaborative-textarea/) ([Convergence](https://convergence.io) does the real-time sync).  The code for it can be found [here](https://github.com/convergencelabs/javascript-examples/tree/master/src/collaborative-textarea).


## Installation

Install package with NPM and add it to your development dependencies:

```npm install --save-dev @convergence/html-text-collab-ext```

## Example Usage

### HTML
```html
<html>
  <body>
    <textarea id="example">
    Some example text to edit.
    </textarea>
  </body>
</html>
```

### JavaScript
```javascript
const textarea = document.getElementById("example");
const textEditor = new HtmlTextCollabExt.CollaborativeTextEditor({
  control: textarea,
  onInsert: (index, value) => console.log(`"${value}" was inserted at index ${index}`,
  onDelete: (index, length) => console.log(`"${length}" characters were deleted at index ${index}`,
  onSelectionChanged: (selection) => console.log(`selection was changed to ${JSON.stringify(selection)}`)
}

//
// Selection Management
//
const selectionManager = textEditor.selectionManager();

const collaborator = selectionManager.createCollaborator(
  "test", "Test User", "red", {anchor: 10, target: 20});
collaborator.setSelection({anchor: 5, target: 10});
collaborator.flashCursorToolTip(2);

selectionManager.removeCollaborator("test");

//
// Text Modification
//

// Insert text at index 10
textEditor.insertText(10, "Inserted Text");

// Delete 5 charachters at index 10
textEditor.deleteText(10, 5);

// Set the entire value.
textEditor.setText("New textarea value");
```

## Development

- Use `npm install` to install requried dependencies.
- Use `npm run dist` to build the distribution package.
- Use `npm start` to start the example application.
npm package: @minespider/core-sdk
Description: Public and decentralized protocol designed to transform the entire raw materials industry so that dark money and illicit practices become a shadow of the past
Latest version: 2.4.1

# Minespider SDK 2.0

The official Minespider SDK for Javascript, available for browsers and mobile devices, or Node.js backends.
For release notes, see the [CHANGELOG](https://gitlab.com/minespider/sdk.core.minespider.com/-/blob/master/CHANGELOG.md).

## Installing
### In the Browser
To use the SDK in the browser, simply add the following script tag to your HTML pages:
```
<script src="https://unpkg.com/@minespider/core-sdk@2.0.0-beta.0/dist/index.js"></script>
```
### In Node.js

The preferred way to install the Minespider SDK for Node.js is to use the [npm](http://npmjs.org/) package manager for Node.js. Simply type the following into a terminal window:

```
npm install @minespider/core-sdk
```

### Docs

- [Minespider Protocol](/docs/protocol.md)
- [SDK](/docs/sdk.md)