# osx-brightness

> Get or set screen brightness in OS X

Latest version **4.0.0** (published 2015-10-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install osx-brightness
pnpm add osx-brightness
yarn add osx-brightness
bun add osx-brightness
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2015-10-16 |
| First published | 2015-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Andreas Gillström |
| Maintainers | gillstrom, kevva |
| Keywords | app, apple, brightness, cli, mac, osx, screen |

## Links

- npm: https://www.npmjs.com/package/osx-brightness
- Repository: https://github.com/gillstrom/osx-brightness
- Homepage: https://github.com/gillstrom/osx-brightness#readme
- Issues: https://github.com/gillstrom/osx-brightness/issues
- npm.io page: https://npm.io/package/osx-brightness

## Dependencies (4)

- [pify](https://npm.io/package/pify.md) ^2.2.0
- [in-range](https://npm.io/package/in-range.md) ^1.0.0
- [json-promise](https://npm.io/package/json-promise.md) ^1.1.8
- [pinkie-promise](https://npm.io/package/pinkie-promise.md) ^1.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 4.0.0 (latest) — 2015-10-16
- 3.1.4 — 2015-07-27
- 3.1.3 — 2015-07-09
- 3.1.2 — 2015-07-06
- 3.1.1 — 2015-06-17
- 3.1.0 — 2015-06-15
- 3.0.4 — 2015-05-25
- 3.0.3 — 2015-05-23
- 3.0.2 — 2015-05-23
- 3.0.1 — 2015-05-21
- 3.0.0 — 2015-05-21
- 2.0.5 — 2015-05-21
- 2.0.4 — 2015-05-20
- 2.0.3 — 2015-05-20
- 2.0.2 — 2015-05-19
- … 9 more at https://npm.io/package/osx-brightness/versions

## README

# osx-brightness

> Get or set screen brightness in OS X


## Install

```
$ npm install --save osx-brightness
```


## Usage

```js
const osxBrightness = require('osx-brightness');

osxBrightness.set(0.75).then(() => {
	console.log('Changed brightness to 75%');
});

osxBrightness.get().then(brightness => {
	console.log(brightness);
	//=> 0.4375
});
```


## CLI

See the [brightness](https://github.com/kevva/brightness) CLI.


## License

MIT © [Andreas Gillström](https://github.com/gillstrom)

---
_Source: https://npm.io/package/osx-brightness · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
