Socket
Socket
Sign inDemoInstall

@garygrossgarten/wach

Package Overview
Dependencies
141
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @garygrossgarten/wach

simple cli tool to prevent your mac from going to sleep when closing the lid. 👀


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

wach

prevent your mac from going to sleep when closing the lid. 👀.

npm version

This is a simple cli tool to prevent your MacBook from going to sleep when closing the lid. Use it instead of running tools that require a Kernel Extension.

Tested on macOS Mojave 10.14.2

Installation

npm install -g @garygrossgarten/wach

Usage example

Enable sleep prevention ☕

wach enable

If you want to disable sleep prevention again 🛏

wach disable

To get a report of all the current Power Management settings 🔋

wach report

Development setup

  1. Clone the repository and cd into the directory
  2. run npm install
  3. run npm run build
  4. run the application by using node . or npm run start

License

Distributed under the MIT license. See LICENSE for more information.

https://github.com/garygrossgarten/wach

Keywords

FAQs

Last updated on 02 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc