# vlc-command

> Find VLC player command line path

Latest version **1.2.0** (published 2019-08-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install vlc-command
pnpm add vlc-command
yarn add vlc-command
bun add vlc-command
```

Provides the command `vlc-command`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2019-08-23 |
| First published | 2016-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Feross Aboukhadijeh |
| Maintainers | feross |
| Keywords | vlc, path, command, cmd, get vlc path, get vlc command, install, location |

## Links

- npm: https://www.npmjs.com/package/vlc-command
- Repository: https://github.com/feross/vlc-command
- Issues: https://github.com/feross/vlc-command/issues
- npm.io page: https://npm.io/package/vlc-command

## Dependencies (2)

- [winreg](https://npm.io/package/winreg.md) ^1.2.1
- [run-parallel](https://npm.io/package/run-parallel.md) ^1.1.6

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2019-08-23
- 1.1.2 — 2018-08-30
- 1.1.1 — 2016-06-05
- 1.1.0 — 2016-06-05
- 1.0.2 — 2016-06-05
- 1.0.1 — 2016-05-02
- 1.0.0 — 2016-05-02

## README

# vlc-command [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

[travis-image]: https://img.shields.io/travis/feross/vlc-command/master.svg
[travis-url]: https://travis-ci.org/feross/vlc-command
[npm-image]: https://img.shields.io/npm/v/vlc-command.svg
[npm-url]: https://npmjs.org/package/vlc-command
[downloads-image]: https://img.shields.io/npm/dm/vlc-command.svg
[downloads-url]: https://npmjs.org/package/vlc-command
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com

### Find VLC player command line path

## install

```
npm install vlc-command
```

## usage

```js
var cp = require('child_process')
var vlcCommand = require('vlc-command')

vlcCommand(function (err, cmd) {
  if (err) return console.error('could not find vlc command path')

  if (process.platform === 'win32') {
    cp.execFile(cmd, ['--version'], function (err, stdout) {
      if (err) return console.error(err)
      console.log(stdout)
    })
  } else {
    cp.exec(cmd + ' --version', function (err, stdout) {
      if (err) return console.error(err)
      console.log(stdout)
    })
  }
})
```

## license

MIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).

---
_Source: https://npm.io/package/vlc-command · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
