@alexander.gutierrez/smart-campus-energy-management-system-test
v1.0.0
Published
The Smart Campus Energy Management System is designed to optimize energy usage across various buildings and facilities on a university campus.
Downloads
3
Maintainers
Readme
To download and test this package follow these steps:
Step 1:
In your empty project folder create a new app.js file and copy the following:
const objects = require('@alexander.gutierrez/smart-campus-energy-management-system');
const user = objects.default.user;
const centralManagementPlatform = objects.default.centralManagementPlatform;
const dataAnalysis = objects.default.dataAnalysis;
console.log("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"
+"| Smart Campus Energy Management System |\n"
+"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n");
console.log(`${centralManagementPlatform.building?.name} Building Energy Usage\n`);
user.viewUsage(centralManagementPlatform);
console.log(`Data has been received!\n`);
console.log("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"
+"| Analysis of Energy Consumption Data |\n"
+"=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n");
dataAnalysis.analyzeData();
Step 2:
In the terminal, run the following to create the package.json:
npm init -y
Step 3:
To install the package, run this in the bash terminal:
npm i @alexander.gutierrez/smart-campus-energy-management-system
Step 4:
Run the app.js file recently created:
node app.js