open-index/open-npm huggingface dataset:
npm package: @hadesz/base64
Description: A lightweight Base64 encoder/decoder.
Author: Bruce-zxy
Latest version: 1.0.4

# Base64 Converter

## Description

[@hadesz/Base64](https://github.com/Bruce-zxy/base64) is a javascript tool for base64 encoding/decoding strings.

## Install

    
```base
# USE <npm>
$ npm install @hadesz/base64 --save

# USE <yarn>
$ yarn add @hadesz/base64
```

## Import
```javascript
const BASE64 = require('@hadesz/base64');    // CommonJS
// or
import BASE64 from '@hadesz/base64';         // ECMAScript
// or
import * as BASE64 from '@hadesz/base64';    // TypeScript
```

## Use
```javascript
const str_encode = BASE64.encode('12345');

console.log(str_encode);
// "MTIzNDU="

const str_decode = BASE64.decode(str_encode);

console.log(str_decode);
// "12345"

```
npm package: @hadesz/monitor
Description: A complete server monitoring system with agents, server and dashboard
Author: Bruce_zxy
Latest version: 1.0.12

<!--
 * @Author: HadesZ
 * @Date: 2025-11-03 12:18:51
 * @LastEditors: HadesZ
 * @LastEditTime: 2025-11-03 16:27:16
 * @Description: 
-->
# Server Monitor System

A complete server monitoring system with agents, monitoring server, and dashboard.

## Installation

### Global Installation (Recommended)
```bash
npm install -g @hadesz/monitor

```

## Usage
```bash
# Server Side
monitor-server

# Agent Side
monitor-agent -i my-server-name --host monitor.example.com --interval 5000
```

### Options

#### Agent Options
- `--id <id>`: Agent ID (default: hostname)
- `--host <host>`: Monitor server host (required)
- `--http-port <port>`: Monitor server HTTP port (default: 3100)
- `--udp-port <port>`: Monitor server UDP port (default: 41234)
- `--interval <ms>`: Collection interval in milliseconds (default: 10000)
- `--verbose`: Enable verbose logging

#### Server Options
- `--mongo-uri <uri>`: MongoDB connection URI (default: mongodb://localhost:27017/monitoring)
- `--http-port <port>`: HTTP receiver port (default: 3100)
- `--udp-port <port>`: UDP receiver port (default: 41234)
- `--dashboard-port <port>`: Dashboard port (default: 4000)
- `--no-dashboard`: Disable dashboard
- `--verbose`: Enable verbose logging