Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@log4brains/web

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@log4brains/web

Log4brains architecture knowledge base web UI and static site generator

  • 1.0.0-alpha.28
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-44.51%
Maintainers
1
Weekly downloads
 
Created
Source

@log4brains/web

This package provides the web UI of the Log4brains architecture knowledge base and its static site generation capabilities.

Installation

You should use npx init-log4brains as described in the Log4brains README, which will install all the required dependencies in your project, including this one, and set up the right scripts in your package.json.

You can also install this package manually via npm or yarn:

npm install --save-dev @log4brains/web

or

yarn add --dev @log4brains/web

And add these scripts to your package.json:

{
  [...]
  "scripts": {
    [...]
    "log4brains-preview": "log4brains-web preview",
    "log4brains-build": "log4brains-web build",
  }
}

Usage

You should have a look at the main Log4brains README to get more context.

Preview

This command will start the web UI in preview mode locally on http://localhost:4004/. You can define another port with the -p option. In this mode, the Hot Reload feature is enabled: any changes you make to the markdown files are applied live in the UI.

npm run log4brains-preview

or

yarn log4brains-preview

Build

This command should be used in your CI/CD pipeline. It creates a static version of your knowledge base, ready to be deployed on a static website hosting service like GitHub or GitLab pages.

npm run log4brains-build

or

yarn log4brains-build

The default output directory is .log4brains/out. You can change it with the -o option.

Documentation

Keywords

FAQs

Package last updated on 09 Dec 2020

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