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

create-webflow-publish

v2.0.2

Published

Beautiful CLI for creating WebFlow projects with modern tooling

Downloads

22

Readme

CREATE-WEBFLOW-PUBLISH

A CLI wizard that bootstraps a new Vite project, optionally creates a GitHub repo, sets up ESLint and Prettier, and adds Webflow-related configuration in package.json.

Table of Contents

Requirements

  • Node.js (preferably v18+)
  • Git (for initializing a repo and pushing to GitHub)
  • GitHub account (if you want to auto-create repos)
  • Browser you use for Webflow (Chrome, Arc, Firefox, etc.)

Installation

  1. A separate curl script
  2. A global CLI install via npm

Separate curl Script

curl -sSL https://raw.githubusercontent.com/yndmitry/wf-publish/master/install.sh | sudo bash

This script loads the auxiliary files and installs everything needed to do the magic. It is convenient if you prefer a direct bash script with superuser privileges.

VIRUS TOTAL (Here you can make sure you don't install any viruses, sudo is needed to make requests to webflow with your cookies from your browser)

CLI Installation via npm

npm install -g create-webflow-publish@latest

This installs the CLI globally. After that, you can call create-webflow-publish from anywhere.

Usage

Run the CLI wizard:

npx create-webflow-publish@latest

(Or create-webflow-publish if installed globally via npm -g.)

How It Works

  • Create a new GitHub repository?
    • Yes/No. If Yes, you’ll enter or create a GitHub token.
  • GitHub Username (only asked if your global git user isn’t set)
  • Webflow project slug
    • For my-project.webflow.io, the slug is my-project.
  • Default browser
    • Arc, Chrome, Brave, etc.

What the CLI Does

  • Creates a Vite project with npx create-vite@latest {projectName}.
  • Sets up folders (pages, utils, assets).
  • Adds a sample main.ts.
  • Installs and con figures ESLint & Prettier.
  • Optionally initializes and pushes to a new GitHub repo.
  • Adds browser, ghUserName, and repositoryName to your package.json.

A success message appears once everything is done.

Features

  • GitHub Integration
    • Automatically creates a new repo, commits, and pushes your code.
  • Minimal Vite Boilerplate
    • Just a few folders plus a main.ts/js starter.
  • ESLint & Prettier
    • Preconfigured with recommended defaults.
  • Webflow Config
    • Useful fields in your package.json for custom Webflow scripts or publish tasks.

FAQ

  1. "Git not found" or "GitHub token invalid"
    • Make sure Git is installed, and your token has the repo scope.
  2. CLI fails to install create-vite@latest
    • Update Node.js or install create-vite globally (npm install -g create-vite) and try again.
  3. I already have a repo
    • Just answer "No" when asked to create a new one.
  4. Errors about removing non-existent files
    • The CLI tries to clean up default Vite files. If they’re missing, no worries.
  5. Re-running in the same directory
    • Not recommended. It’s meant to bootstrap a fresh project.

Troubleshooting

  • CLI not found
    • Check your global install: npm install -g create-webflow-publish@latest, or run it via npx.
  • Cannot create GitHub repo
    • Check your connection, your token, and permissions to create repos.
  • Permission errors
    • Sometimes you need sudo or proper directory permissions.

If all else fails or you want more details, open an issue on the GitHub repo or email me.

Happy coding!