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

whimsical-exporter

v1.0.1

Published

CLI tool to export Whimsical boards recursively as image files.

Downloads

14

Readme

whimsical-exporter

CLI tool to export your Whimsical boards recursively as SVG, PNG, or PDF from a starting folder URL.

Features

  • Exports folders and boards recursively, keeping the same folder structure.
  • Allows selecting the exporting formats:
    • PNG at 2x zoom (static image, shapes cannot be edited)
    • PDF (landscape, shapes can be zoomed in)
    • SVG (shapes can be zoomed in and edited)
  • If the process fails, you can run the same command again and it will skip existing files.
  • Automatically skips empty boards.
  • All code is run locally in your machine using a headless Chromium browser.
  • Your login credentials are never stored or shared.

Requirements

Usage

You can just run the latest version from the terminal, without installing it locally:

npx whimsical-exporter

Or clone the repo and install the dependencies with npm install, then run it with npm start.

The interactive tool will ask you for your email, password, the URL you want to start exporting from, and the image formats you prefer and will save the files with the same folder structure in a downloads folder on your working directory.

If you plan to run this tool several times, you can also pass these options as environment variables:

EMAIL='[email protected]' PASSWORD='your_password' FOLDER_URL='https://whimsical.com/your-folder-name' FILE_TYPES='svg,png,pdf' npx whimsical-exporter

If you would like to debug the tool, you can make the browser automation visible and open the dev tools panel with the DEBUG environment variable. Please note that you may get print dialogs that will steal your focus when exporting to PDF on this mode:

DEBUG=true npx whimsical-exporter

License

© Rodrigo Fernández, MIT license.