
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@squarecloud/utils
Advanced tools
Module designed to support Square Cloud activities.
npm install @squarecloud/utils
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;
This project is licensed under the Apache License 2.0
FAQs
Module designed to support Square Cloud activities.
We found that @squarecloud/utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.