Socket
Book a DemoInstallSign in
Socket

@cocopina/logs-ui

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocopina/logs-ui

Logs GUI utility for displaying logs in a pretty format

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

Logs UI

A simple and clean log files web viewer.

The logs list and the logs content are updated live, using sockets.

Example

Installation

$ npm install @cocopina/logs-ui

Usage

Create a configuration file named .logs.ui.json or .logs.ui.js and place it in the root of your projects.

Add an npm script to your package:

"logs-ui": "logs-ui"

Run:

$ npm run logs-ui

Configuration

ParameterDescriptionDefault
app_nameThe app's name-
logs_dirThe directory that holds the logsNONE. MANDATORY
portThe port to run on1095

Example

{
	"app_name": "Cocopina",
	"logs_dir": "./logs",
	"port": "4004"
}

FAQs

Package last updated on 07 Feb 2018

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