Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 Request

Crafted 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).