7 lines
174 B
JavaScript
7 lines
174 B
JavaScript
const si = require('systeminformation');
|
|
|
|
si.graphics().then(data => {
|
|
console.log(JSON.stringify(data, null, 2));
|
|
}).catch(error => {
|
|
console.error('Error:', error);
|
|
}); |