Socket
Socket
Sign inDemoInstall

@devsnicket/eunice-renderer

Package Overview
Dependencies
101
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devsnicket/eunice-renderer

Visualize, explore and statistically measure how actual dependencies match intended structure in YAML files generated by analyzers.


Version published
Maintainers
1
Weekly downloads
1

Weekly downloads

Readme

Source

Eunice Renderer

DevSnicket Eunice is a toolkit based on the premise that unidirectional dependencies can be beneficial to structure and modularity in software. Eunice's approach isn't limited to direct dependencies, but includes indirect dependencies as well.

try out Eunice on Eunice 🐶🥫 (created with)

NPM Build Status Coverage Status Gitter chat

This package reads dependencies and structure, defined as YAML, and renders them as SVG. The structure can include stacks that are scoped/grouped into a hierarchy. Dependencies of each item are counted and totals are rendered with the item. Item's can have multiple totals, separated by whether the dependencies counted either match or do not match their stack.

Install using npm:

npm install --save-dev @devsnicket/eunice-renderer

Or with yarn:

yarn add --dev @devsnicket/eunice-renderer

Arrows and Counts

Instead of rendering dependencies as lines between items each dependency is counted into the following categories:

  • matches stack (green down arrow)
  • does not match stack (red up arrow)
  • is not independent (red horizontal arrow)

Dependency counts appear for both sides of the dependency, the dependent item and the item depended upon. When there are multiple counts a summary of all counts is rendered at the bottom.

scenariosvgscenariosvgscenariosvg
upper depends
upon lower
lower depends
upon upper
interdependent
(stacked)
independentfirst depends
upon second
interdependent
(not stacked)

Dependencies within an item are also summarized and rendered inside the item box, below the identifer text.

scenariosvgscenariosvgscenariosvg
parent depends
upon item
item depends
upon parent
first item
depends upon
second item
(not stacked)

Items and sub-item can also be opened. Opening an item will show its contents and breadcrumb links for where it is in the hierarchy.

root > grandparent

Keywords

FAQs

Last updated on 24 Aug 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc