# open-editor-cli

> Open files in your editor at a specific line and column

Latest version **2.0.0** (published 2021-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install open-editor-cli
pnpm add open-editor-cli
yarn add open-editor-cli
bun add open-editor-cli
```

Provides the command `open-editor`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2021-11-03 |
| First published | 2017-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 56 |
| Author | Sindre Sorhus |
| Maintainers | sindresorhus |
| Keywords | cli-app, cli, open, editor, launch, files, file, line, column, position, path, filepath, editors, start, app, sublime, atom, vscode, webstorm, textmate |

## Links

- npm: https://www.npmjs.com/package/open-editor-cli
- Repository: https://github.com/sindresorhus/open-editor-cli
- Homepage: https://github.com/sindresorhus/open-editor-cli#readme
- Issues: https://github.com/sindresorhus/open-editor-cli/issues
- Funding: https://github.com/sponsors/sindresorhus
- npm.io page: https://npm.io/package/open-editor-cli

## Dependencies (4)

- [meow](https://npm.io/package/meow.md) ^10.1.1
- [get-stdin](https://npm.io/package/get-stdin.md) ^9.0.0
- [temp-write](https://npm.io/package/temp-write.md) ^5.0.0
- [open-editor](https://npm.io/package/open-editor.md) ^4.0.0

## 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
- [@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
- [tg-resolve](https://npm.io/package/tg-resolve.md) — 176 weekly downloads

## Recent versions

- 2.0.0 (latest) — 2021-11-03
- 1.0.0 — 2017-05-04

## README

# open-editor-cli

> Open files in your editor at a specific line and column

## Install

```sh
npm install --global open-editor-cli
```

## Usage

```
$ open-editor --help

  Usage
    $ open-editor <file> …
    $ cat <file> | open-editor [--ext]

  Options
    --ext  File extension for stdin

  Examples
    $ open-editor unicorn.js:5:3 readme.md:10:2
    $ echo '<h1>Unicorns!</h1>' | open-editor --ext=html
```

## Related

- [open-editor](https://github.com/sindresorhus/open-editor) - API for this module
- [open-cli](https://github.com/sindresorhus/open-cli) - Opens stuff like websites, files, executables

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