npm install nightmodeDo stuff when the sun is down.
``bash`
npm install --save nightmode
`javascript
var nightmode = require('nightmode')
// Specify coordinates and date
nightmode(['51.5', '-0.1'], new Date()).then(() => {
// do stuff
})
// or leave blank and use today's date and navigator.geolocation
nightmode().then(() => {
// do stuff
})
`
MIT
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)git commit -am 'Add some feature'
3. Commit your changes ()git push origin my-new-feature`)
4. Push to the branch (
5. Create new Pull Request
Crafted with <3 by Simon Brix (@br11x).
*
> This package was initially generated with yeoman and the p generator.