New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@squarecloud/utils

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squarecloud/utils

Module designed to support Square Cloud activities.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Informações

Module designed to support Square Cloud activities.

Install

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;

LICENSE

This project is licensed under the Apache License 2.0

Keywords

FAQs

Package last updated on 26 May 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc