10 lines
168 B
CoffeeScript
10 lines
168 B
CoffeeScript
|
si = require('systeminformation')
|
||
|
|
||
|
window.onload = () ->
|
||
|
si.cpu()
|
||
|
.then((data) ->
|
||
|
console.log(data)
|
||
|
).catch((error) ->
|
||
|
console.error(error)
|
||
|
)
|