New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

edge-node-micro-app

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-node-micro-app

EdgeNode is a front-end Micro App.

  • 1.0.1
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

EdgeNode Micro App

EdgeNode is a front-end Micro App.

Install

use npm

npm install edge-node-micro-app

or use yarn

yarn add edge-node-micro-app

Usage

Before that, you must have installed the VueRouter.

For example:

import router from '../router'
import registerEdgeNodeMicroApp from 'edge-node-micro-app'

const logo = 'xxxx'
const onlineIcon = 'xxx'
const offlineIcon = 'xxx'

registerEdgeNodeMicroApp({
  router,
  parentRouterName: 'basic',
  routerMeta: {},
  entry: 'http://localhost:3000',
  props: {
    design: {
      primaryColor: '#f15713',
      appName: '',
      appIcon: logo,
    },
    node: {
      onlineIcon,
      offlineIcon,
      onlineColor: '#6acc25',
      offlineColor: '#ed5653',
      background: '#171717',
      color: '#ffffff',
    },
  },
})

Then you can display it by configuring it('/node-admin/') in any menu.

EdgeNode Micro App Basic Props

ParamDescRequired
routerVueRouter Instanceyes
parentRouterNameParent Router Nameno
routerMetaCustom Metano
entryMicro App URLyes
propsMicroApp Propsno

MicroApp Design Props

ParamDescRequired
primaryColorPrimary Colorno
appNameMicro App nameno
appIconMicro App iconno

MicroApp EdgeNode Manage Props

ParamDescRequired
onlineIconOnline Iconno
offlineIconOffline Iconno
onlineColorOnline Text Colorno
offlineColorOffline Text Colorno
backgroundNode Backgroundno
colorNode Font Colorno

FAQs

Package last updated on 09 Jul 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc