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

peyotl

v0.1.14

Published

Deploy a static site via ftp.

Readme

ftp-deploy

Deploy a static site via ftp. Existing site will be moved to a backup directory named html.bak.# where # will be incremented for every deployment.

usage

Add the following to the scripts section of package.json:

"deploy": "peyotl --domain domain --host host --user user --pw password [--stage stage] [--local local]"

options

  • host: Hostname of the FTP server.
  • user: Username credential.
  • pw: Password credential. Special characters may need to be escaped. For example: --pw Ac\\[o\\*sD
  • domain: Path on the server where the deployment will be staged. Also where the html directory lives.
  • stage: Optional name to use for the staging directory. Defaults to html.stage
  • local: Optional location of static site to upload. Defaults to public. Must not contain any relative directory references; i.e., build is ok, but ./build will result in an error.

todo

  • Provide a secure method for setting the password.
  • Rollback a version.
    • Rollback latest
    • Rollback by backup #
  • Make buildManifest usage of localDir robust. Specifying ./dir instead of dir will cause a failure.
  • Update repo and files to reference the package name: peyotl.
  • Add tests for ftp processing. I'm sure there are many real-world situations that ere not accounted-for in the code.
  • Add configuration for the name of the HTML directory. Currently hardcoded to html.
  • Rearchitect to do an in-place synchronization.
    • Continue to offer "stage and copy" as an option?
    • Provide a dry-run feature.
    • Make the dry-run interactive (perform sync on approval).
  • Track versions (based on package.json "version" configuration)
    • Don't allow deployment if version already exists (like npm publish)
    • Display available versions.
    • Roll forward / roll back