1.2.0 • Published 2 years ago

@ascen/execzero v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.1.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago