2.0.0 • Published 12 months ago

@squarecloud/status v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

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 to get more information in addition to data from the docker environment.

Install

npm install @squarecloud/status
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