1.2.0 • Published 6 months ago

@ascen/execzero v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

execzero

execzero is an npm package designed to work seamlessly with ascen's zero package. This tool enables effortless system shutdowns on macOS, Windows, and Linux, providing a convenient and unified solution for controlling your PC's power state.

Installation:

  • Using npm:
npm i -g @ascen/execzero
  • Using yarn:
yarn global add @ascen/execzero
  • Using pnpm:
pnpm global add @ascen/execzero

Usage:

  • Inside File:
import execzero from "@ascen/execzero"

// Call an execzero function
execzero((err, stderr, stdout) => {
    if(!err && !stderr) {
        console.log(stdout);
    }
});
  • Inside CLI:
execzero
1.2.0

6 months ago

1.1.0

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago