Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@farmfe/js-plugin-record-viewer

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@farmfe/js-plugin-record-viewer

latest
npmnpm
Version
2.1.0
Version published
Maintainers
2
Created
Source

Record Viewer Plugin for Farm

Getting Started

To begin, you'll need to install @farmfe/js-plugin-record-viewer:

npm install @farmfe/js-plugin-record-viewer --save-dev

or

yarn add -D @farmfe/js-plugin-record-viewer

or

pnpm add -D @farmfe/js-plugin-record-viewer

Configuring the plugin in farm.config.ts:

import { defineFarmConfig } from '@farmfe/core/dist/config';
import record from '@farmfe/js-plugin-record-viewer'; //  import the plugin

export default defineFarmConfig({
  compilation: {
    input: {
      index: './index.html'
    },
    output: {
      path: './build'
    }
  },
  plugins: [
    // use the record viewer plugin.
    record({
      // custom options here
    })
  ]
});

Options

RecordViewerOptions

Type:

type RecordViewerOptions = {
  /**
   * Specify hostname
   * @default '127.0.0.1'
   */
  host?: string;

  /**
   * Specify port
   * @default 9527
   */
  port?: number;
}

Default: undefined

FAQs

Package last updated on 10 Jan 2024

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