UNPKG
ambient-light
Version:
latest (0.0.2)
0.0.2
0.0.1
Get ambient light in OSX
ambient-light
/
README.md
24 lines
(16 loc)
•
252 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ambient-light
>
Get
ambient light
in
OSX
## Installation
``
` $ npm install --save ambient-light `
``
## Usage
``
`js const ambientLight = require('ambient-light'); ambientLight().then(lux => { console.log(lux); // => 63 }); `
``
## License
MIT