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 🙏

© 2026 – Pkg Stats / Ryan Hefner

jupyterlab_export_svg_as_png_extension

v1.1.4

Published

Jupyterlab extension to allow copying and exporting any given SVG graphics as PNG

Downloads

310

Readme

jupyterlab_export_svg_as_png_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

[!TIP] This extension is part of the stellars_jupyterlab_extensions metapackage. Install all Stellars extensions at once: pip install stellars_jupyterlab_extensions

Copy or export any SVG graphic in JupyterLab as a high-quality PNG image. Right-click on any SVG element - whether it's a chart output, a diagram, or an inline graphic - and choose to copy it to the clipboard as PNG or save it as a PNG file.

Full disclosure: SVG is a perfectly fine format that nobody asked to be converted. But sometimes you need a PNG for a slide deck, a report, or that one colleague who insists on pasting images into Word documents. This extension won't judge. It just converts.

Context menu on an SVG inside a markdown file

Context menu on an SVG file opened directly in the image viewer

Features

  • Copy SVG as PNG - Right-click any SVG in a notebook output or document and copy it as a PNG to the clipboard
  • Save SVG as PNG file - Download any SVG as a high-quality PNG file with a deterministic filename
  • Theme-aware export - Resolves @media (prefers-color-scheme) CSS in SVGs with configurable mode: follow JupyterLab theme (system), or force light/dark
  • Configurable output width - Set the PNG width in pixels (64 to 8192, default 1920/Full HD); height scales proportionally to preserve aspect ratio
  • Background color options - Export with transparent, white, black, or custom background color
  • Works everywhere - Context menu appears on SVG outputs, markdown previews, HTML rendered content, and SVG files opened directly

Installation

Requires JupyterLab 4.0.0 or higher.

pip install jupyterlab-export-svg-as-png-extension

Uninstall

pip uninstall jupyterlab-export-svg-as-png-extension