schnee effeckt und fehler Korektur

This commit is contained in:
2023-08-14 17:52:24 +02:00
parent 4a843d4936
commit 79af4e9907
6813 changed files with 343821 additions and 356128 deletions

26
node_modules/bin-check/readme.md generated vendored
View File

@@ -6,16 +6,16 @@
## Install
```
$ npm install --save bin-check
$ npm install bin-check
```
## Usage
```js
var binCheck = require('bin-check');
const binCheck = require('bin-check');
binCheck('/bin/sh', ['--version'], function (err, works) {
binCheck('/bin/sh', ['--version']).then(works => {
console.log(works);
//=> true
});
@@ -24,7 +24,13 @@ binCheck('/bin/sh', ['--version'], function (err, works) {
## API
### binCheck(binary, command, callback)
### binCheck(binary, [arguments])
Returns a `Promise` for a `boolean`.
### binCheck.sync(binary, [arguments])
Returns a `boolean`.
#### binary
@@ -32,18 +38,12 @@ Type: `string`
Path to the binary.
#### command
#### arguments
Type: `array`
Type: `Array`<br>
Default: `['--help']`
Commands to run the binary with.
#### callback(err, works)
Type: `function`
`works` is a `boolean` which returns `true` if the binary is working correctly.
Arguments to run the binary with.
## License