npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

plantview

v0.0.8

Published

PlantUML viewer powered by Docker + Webpack HMR

Downloads

19

Readme

Plantview

PlantUML viewer powered by Docker + Webpack HMR

image

Features

  • Hot Module Replacement (HMR) will help you to seamlessly write and preview UML
  • Easy installation with Docker + NPM
  • Super fast, dockerized local plantuml server
  • Works even in Offline
  • You can use your favorite editor

Prerequisites

  • Docker
  • Node >= 10

Getting Started

First, install Plantview:

docker pull plantuml/plantuml-server
npm -g install plantview

Write your UML:

' my-diagram.uml

!include https://raw.githubusercontent.com/bschwarz/puml-themes/master/themes/bluegray/puml-theme-bluegray.puml

title OAuth basic flow with auth code and access token

actor "You/Browser" as b
participant "slack.com" as s
participant "account.google.com" as a
participant "drive.google.com" as d

b -> s: 1.  I would like to access my files on Google Drive via your interface.
s -> b: 2.  You should apply the "Authorization Code" from Google for me first.
b -> a: 3.  I would like to permit slack.com to access my files.
a -> b: 4.  Are you sure?
b -> a: 5.  [Y]
a -> b: 6.  Okay. Here is the "Authorization Code." Plz give it back to slack.com now.
b -> s: 7.  You can do what I asked now \n(with the Authorization Code which is just received from Google.)
s -> a: 8.  I would like to exchange the "Authorization Code" for the "Access Token."
a -> s: 9.  Your Access Token here.
s -> d: 10. I would like to read files which belong to one of my customers. Here is the Access Token.
d -> s: 11. Hmmm...the Access Token is vaild. Here is list of files you asked.
s -> b: 12. Grant succeed. You can see your files stored in Google Drive!

Then, run the following command:

plantview my-diagram.uml

image

You will see your default browser launch. Every time you update the UML file, your browser will automatically reload it!