{"id":28208573,"url":"https://github.com/squarecloudofc/squarecloud-utils","last_synced_at":"2025-10-11T19:18:01.189Z","repository":{"id":40327483,"uuid":"489814996","full_name":"squarecloudofc/squarecloud-utils","owner":"squarecloudofc","description":"Module designed to support Square Cloud activities.","archived":false,"fork":false,"pushed_at":"2023-05-26T21:17:05.000Z","size":13,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T21:25:39.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://squarecloud.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squarecloudofc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-08T01:01:54.000Z","updated_at":"2025-09-11T11:51:15.000Z","dependencies_parsed_at":"2025-06-12T08:36:12.998Z","dependency_job_id":"075cd6b9-a44f-4b56-b10d-ad3c7944c306","html_url":"https://github.com/squarecloudofc/squarecloud-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squarecloudofc/squarecloud-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squarecloudofc%2Fsquarecloud-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squarecloudofc%2Fsquarecloud-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squarecloudofc%2Fsquarecloud-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squarecloudofc%2Fsquarecloud-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squarecloudofc","download_url":"https://codeload.github.com/squarecloudofc/squarecloud-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squarecloudofc%2Fsquarecloud-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008461,"owners_count":26084460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-17T14:13:34.385Z","updated_at":"2025-10-11T19:18:01.172Z","avatar_url":"https://github.com/squarecloudofc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Informações\nModule designed to support Square Cloud activities.\n\n## Install\n```\nnpm install @squarecloud/utils\n```\n\n```javascript\nconst { Status: { ram, ramTotal, ramUsed } } = require(\"@squarecloud/utils\");\n// Or use directly @squarecloudofc/status\n\nconst { Terminal: { info, warn, error, success, debug } } = require(\"@squarecloud/utils\");\nerror(\"Example error message :think:\");\n\n// Registry system.\nconst { Registry: { add, del, check } } = require(\"@squarecloud/utils\");\n\nadd(\"Hello log\", \"log.txt\");\nadd(\"Another message in same log\", \"log.txt\");\nadd(\"Another timeZone?\", \"US_Logs.txt\", \"US/Central\");\n\ndel(\"US_Logs.txt\"); // Delete the US_Logs file.\n\nif (check(\"US_Logs.txt\")) {\n    console.log(\"US_Logs exists!\");\n} \n\nconst { webhook, apply, prototypes } = require(\"@squarecloud/utils\");\n\n// Discord Easy Webhook\nwebhook(\"hi friend\", \"https://discord......\");\nwebhook({ content: \"example object webhook\" }, \"https://discord......\");\n\n// Protect your code\napply(() =\u003e { console.log(USER) }, \"log.txt\"); \n// support file or webhook (discord);\n\nExample save in log.txt:\n00/00/0000 00:00:00 -\u003e ReferenceError: USER is not defined\n\n// Add Util prototypes;\nprototypes();\n\n\"potato\".capitalize -\u003e \"Potato\";\n[1, 2, 3, 4, 5].random() -\u003e 3 // Give random array value;\n\n```\n\n## LICENSE\nThis project is licensed under the Apache License 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquarecloudofc%2Fsquarecloud-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquarecloudofc%2Fsquarecloud-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquarecloudofc%2Fsquarecloud-utils/lists"}