@squarecloud/status
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i @squarecloud/status

Weekly Downloads

5

Version

2.0.0

License

Apache-2.0

Unpacked Size

13.6 kB

Total Files

5

Last publish

Collaborators

  • richaardev
  • joaotonaco
  • joaootavios