UNPKG
ambient-light
Version:
latest (0.0.2)
0.0.2
0.0.1
Get ambient light in OSX
ambient-light
/
test.js
8 lines
(6 loc)
•
123 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
test
from
'ava'
;
import
fs
from
'./'
;
test
(
'get lux'
,
async
t => {
const
lux =
await
fs
(); t.
true
(lux >=
0
); });