Galerie und tage

This commit is contained in:
2021-11-23 17:56:26 +01:00
parent ff35366279
commit 5f873bee89
4693 changed files with 149659 additions and 301447 deletions

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

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