open-index/open-npm huggingface dataset:
npm package: @squarecloud/status
Description: Module created in order to provide certain information about your applications.
Author: Square Cloud | Development Team
Latest version: 2.0.0

## Info
This module was developed with the aim of helping people to collect information related to their applications hosted on https://squarecloud.app.
#### We recommend using the Square Cloud API [@squarecloud/api](https://www.npmjs.com/package/@squarecloud/api) to get more information in addition to data from the docker environment.

## Install
```
npm install @squarecloud/status
```

```javascript
const { ram, ramTotal, ramUsed } = require("@squarecloud/status");

console.log(ram()) // 23/100MB
console.log(ramUsed()) // 23
console.log(ramTotal()) // 100
```

## LICENSE
This project is licensed under the Apache License 2.0
npm package: @squarecloud/utils
Description: Module designed to support Square Cloud activities.
Author: Square Cloud | Development Team
Latest version: 2.0.0

## Informações
Module designed to support Square Cloud activities.

## Install
```
npm install @squarecloud/utils
```

```javascript
const { Status: { ram, ramTotal, ramUsed } } = require("@squarecloud/utils");
// Or use directly @squarecloudofc/status

const { Terminal: { info, warn, error, success, debug } } = require("@squarecloud/utils");
error("Example error message :think:");

// Registry system.
const { Registry: { add, del, check } } = require("@squarecloud/utils");

add("Hello log", "log.txt");
add("Another message in same log", "log.txt");
add("Another timeZone?", "US_Logs.txt", "US/Central");

del("US_Logs.txt"); // Delete the US_Logs file.

if (check("US_Logs.txt")) {
    console.log("US_Logs exists!");
} 

const { webhook, apply, prototypes } = require("@squarecloud/utils");

// Discord Easy Webhook
webhook("hi friend", "https://discord......");
webhook({ content: "example object webhook" }, "https://discord......");

// Protect your code
apply(() => { console.log(USER) }, "log.txt"); 
// support file or webhook (discord);

Example save in log.txt:
00/00/0000 00:00:00 -> ReferenceError: USER is not defined

// Add Util prototypes;
prototypes();

"potato".capitalize -> "Potato";
[1, 2, 3, 4, 5].random() -> 3 // Give random array value;

```

## LICENSE
This project is licensed under the Apache License 2.0
npm package: @squarecloudofc/redis-map
Description: A simple way to use something similar to the Map in javascript, but synchronized with the power of Redis.
Author: JoaoOtavioS
Latest version: 1.0.1

## Information
A simple way to use something similar to the Map in javascript, but synchronized with the power of Redis.

## Install
```
npm install @squarecloudofc/redis-map
```

## Example of usage
```javascript
const { RedisAPI, RedisMap } = require("@squarecloudofc/redis-map");

(async () => {
    
    const connections = await new RedisAPI({
        url: process.env.REDIS, 
        monitor: (type, message) => {
            console.log(`[REDIS] ${type}: ${message}`);
        }
    }).connect();

    // Example using same connection (for two maps);

    // first map;
    const cacheUsers = new RedisMap({
        connections,
        name: "example:cache:users", 
        monitor: (type, message, name) => {
            console.log(name, type, message);
        }
    });

    // second map;
    const cacheApps = new RedisMap({
        connections,
        name: "example:cache:apps",
        sync: false // disable sync with redis;
    });

    await cacheUsers.set("joao", { plan: "free", balance: 1000 });
    console.log(cacheUsers.get("joao"), "\n");

    await cacheApps.set("water_man", { protection: 10, shield: 50 });
    console.log(cacheApps.get("water_man"), "\n");

    connections.disconnect();

})();
```

## LICENSE
This project is licensed under the Apache License 2.0.

Sponsored by [Square Cloud](https://squarecloud.app/).
npm package: @squarecloudofc/status
Description: Module created in order to provide certain information about your applications.
Author: Square Cloud | Development Team
Latest version: 1.0.0
Deprecated: Use renamed package @squarecloud/status

## Info
This module was developed with the aim of helping people to collect information related to their applications hosted on https://squarecloud.app

## Install
```
npm install @squarecloud/status
```

```javascript
const { ram, ramTotal, ramUsed } = require("squarecloud-status");

console.log(ram()) // 23/100MB
console.log(ramUsed()) // 23
console.log(ramTotal()) // 100
```

## LICENSE
This project is licensed under the Apache License 2.0
npm package: @squarecloudofc/utils
Description: Module designed to support Square Cloud activities.
Author: Square Cloud | Development Team
Latest version: 1.0.2
Deprecated: Use renamed package @squarecloud/utils

## Informações
Module designed to support Square Cloud activities.

## Install
```
npm install @squarecloud/utils
```

```javascript
const { Status: { ram, ramTotal, ramUsed } } = require("@squarecloud/utils");
// Or use directly @squarecloudofc/status

const { Terminal: { info, warn, error, success, debug } } = require("@squarecloud/utils");
error("Example error message :think:");

// Registry system.
const { Registry: { add, del, check } } = require("@squarecloud/utils");

add("Hello log", "log.txt");
add("Another message in same log", "log.txt");
add("Another timeZone?", "uscentralLogs.txt", "US/Central");

del("uscentralLogs.txt"); // Delete the uscentralLogs file.

if (check("uscentralLogs.txt")) {
    console.log("uscentralLogs exists!");
} 

const Utils = require("@squarecloud/utils");

// Discord Easy Webhook
Utils.webhook("hi friend", "https://discord......");
Utils.webhook({ content: "example object webhook" }, "https://discord......");

// Protect your code
Utils.apply(() => { console.log(USER) }, "log.txt"); 
// support file or webhook (discord);

Example save in log.txt:
00/00/0000 00:00:00 -> ReferenceError: USER is not defined

// Add Util prototypes;
Utils.prototypes();

String.firstUpper("potato") -> "Potato";
Array.random() -> Give random array value;

```

## LICENSE
This project is licensed under the Apache License 2.0
npm package: @squaredle/local-ssl-certs
Description: Generate self-signed root CA certificates and sign SSL certs for local development, permanently bypassing annoying HTTPS warnings.
Author: Squaredle LLC
Latest version: 1.1.3

# Dev Certificates

Easy creation of local trusted SSL certificates for developers.

## Quickstart

```shell
npx @squaredle/local-ssl-certs issue --name Acme dev-certs acme.test "*.acme.test"
```

## Usage

1. **Run**:

   ```shell
   npx @squaredle/local-ssl-certs issue --name Acme dev-certs acme.test
   ```

2. **Install** the resulting CA certificates:

   - The root CA certificate (ending in `.crt`) must be installed in your
     **Trusted Root Certification Authorities** store.
     - By default, the root CA's private key is deleted after creation so it
       can't be used against you.
   - The intermediate CA (also ending in `.crt`) must be installed in your
     **Intermediate Certification Authorities** store.
     - This certificate can only be used to sign certificates for `.test`
       domain names, so it's relatively safe to keep the private key around.
     - Alternatively, you may delete the intermediate private key, but
       you'll need to reissue and reinstall the root and intermediate CA
       certificates to generate new certificates later.
   - Installation varies by OS:

     - Windows: Open the root and intermediate `.crt` files and install each
       in its appropriate store (see above).
     - Mac: Open the root and intermidate `.crt` files in Keychain Access and
       install them in the System keychain, set to "Always Trust".
     - Linux: Varies by distribution. For Ubuntu:

       ```shell
       sudo cp dev-certs/root-ca.crt /usr/local/share/ca-certificates/
       sudo update-ca-certificates
       ```

3. **Configure** your local web server to use the generated certificate and key:

   - For example, if you're using `http-server`:

     ```shell
     npx http-server -S -C dev-certs/your-local-domain.test.crt -K dev-certs/your-local-domain.test.key
     ```

   - Or in an Apache VirtualHost:

     ```
     SSLEngine on
     SSLCertificateFile /path/to/dev-certs/your-local-domain.test.crt
     SSLCertificateKeyFile /path/to/dev-certs/your-local-domain.test.key
     ```

4. **Test** the SSL certificate:

   - You may need to restart your browser or device for new CAs to take effect.
   - Open your browser and navigate to `https://your-local-domain.test`.
   - If everything is set up correctly, you should see a secure connection
     without any warnings.