0.0.5 • Published 10 years ago

pmset v0.0.5

Weekly downloads
23
License
-
Repository
github
Last release
10 years ago

Build Status Dependency Status NPM version Code Climate Coverage Status

node-pmset

OS X Power Management for Node.js

This module enables the control over power management functionality within Mac OS X 10.6 or newer. For additional information regarding this functionality, please see my blog post about this topic at:

http://www.benden.us/

Installation

$ npm install pmset

Installation via source

$ git clone https://github.com/jbenden/node-pmset.git node-pmset.git
$ cd node-pmset.git
$ npm install

Example Usage

> pmset = require("pmset");
{ noIdleSleep: [Function],
noDisplaySleep: [Function],
release: [Function] }
> a = pmset.noDisplaySleep("Node.js testing");
1248
> pmset.release(a);
0
>
(^C again to quit)
>

Notes

If you are unable to install the module, due to errors about missing Xcode header files or related, then follow the source installation instructions and change the include path in binding.gyp.

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago