Initial commit

This commit is contained in:
Developer
2025-04-21 16:03:20 +02:00
commit 2832896157
22874 changed files with 3092801 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
# executable [![Build Status](http://img.shields.io/travis/kevva/executable.svg?style=flat)](https://travis-ci.org/kevva/executable)
> Check if a file is executable using Node.js
## Install
```
$ npm install --save executable
```
## Usage
```js
var executable = require('executable');
executable('bash', function (err, exec) {
console.log(exec);
//=> true
});
executable.sync('bash');
//=> true
```
## CLI
```
$ npm install --global executable
```
```
$ executable --help
Usage
$ executable <file>
Example
$ executable optipng
```
## License
MIT © [Kevin Mårtensson](https://github.com/kevva)