🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@open-editor/vite

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-editor/vite

A vite plugin for fast find source code, supported in React & Vue.

Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
115
-15.44%
Maintainers
1
Weekly downloads
 
Created
Source

@open-editor/vite

NPM version MIT

A vite plugin for fast find source code, supported in React & Vue.

For development only

Install

npm -D i @open-editor/vite

Usage

// vite.config.ts
import OpenEditor from '@open-editor/vite';

export default defineConfig({
  plugins: [
    OpenEditor({
      /* options */
    }),
    // other plugins
  ],
});

Configuration

interface Options {
  /**
   * source rootDir path
   *
   * @default process.cwd()
   */
  rootDir?: string;
  /**
   * render the toggle into the browser
   *
   * @default false
   */
  displayToggle?: boolean;
  /**
   * custom openEditor handler
   */
  onOpenEditor?(file: string): void;
}

Keywords

vue-devtools

FAQs

Package last updated on 19 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts