Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johno/night-shift
Toggle OS X Night Shift
https://github.com/johno/night-shift
Last synced: 3 months ago
JSON representation
Toggle OS X Night Shift
- Host: GitHub
- URL: https://github.com/johno/night-shift
- Owner: johno
- License: mit
- Created: 2017-04-14T15:26:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-14T15:26:21.000Z (almost 8 years ago)
- Last Synced: 2024-10-09T09:49:45.164Z (4 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# night-shift [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
Toggle OS X Night Shift.
#### installation
```sh
npm i -S night-shift
```#### usage
```javascript
const nightShift = require('night-shift')nightShift()
```#### cli
```sh
npm i -g night-shift
night-shift -h
```Note: If you haven't already, you will need to give your Terminal.app the ability to control your computer. In `System Preferences > Security & Privacy`:
![h4ixljc8p5u7wpaidv7ynwrbvlifzonor7gxg-fdn7e](https://cloud.githubusercontent.com/assets/1424573/10701986/06c323a6-7984-11e5-9fa1-3fb239c7a60f.png)
#### license
MIT
#### contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull RequestCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).
***
> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).