is-in-editor
v0.1.1
Published
Check if running in an editor
Downloads
67
Readme
is-in-editor
Check if running in an editor.
Install
npm install is-in-editor
yarn add is-in-editor
pnpm add is-in-editor
Usage
import { isInEditor } from 'is-in-editor'
isInEditor()
// => true if running in an editor
Supported Editors and IDEs
- VSCode
- JetBrains IDE
- Vim
- NeoVim