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

@sp-packages/lando-pull

v1.4.3

Published

A CLI tool for syncing remote databases and files to your local Lando environment.

Readme

Lando Pull

✨ Features

  • 🔄 Sync remote databases to your local Lando environment.
  • 📂 Sync remote files with rsync.
  • 🔑 Supports password & SSH key authentication.
  • Customizable configuration via landorc.json.
  • 🚀 Fast execution with minimal setup.
  • 🏗 Ideal for development workflows with WordPress & Lando.

📦 Installation

Global Installation

npm install -g lando-pull

This allows you to use lando-pull globally in your terminal.

Local Installation

npm install lando-pull --save-dev

Then, run it via:

npx lando-pull

🚀 CLI Usage

Basic Usage

lando-pull [options]

Options:

Usage: Lando Pull [options]

A CLI tool for syncing remote databases and files to your local Lando environment.

Options:
  -V, --version           output the version number
  -c, --config <config>   Path to the configuration file (default: landorc.json)
  -d, --debug             Debug mode
  -q, --quiet             Disable output
  -v, --verbose           Enable verbose logging
  --skip-db               Skip database
  --skip-files            Skip files
  --auth-method <method>  Authentication method: 'password' or 'key'
  --key-path <keyPath>    Path to SSH private key (for key-based auth)
  --password [password]   Remote server password (for password auth, recommended via ENV)
  -h, --help              display help for command

Examples:

lando-pull --auth-method key --key-path ~/.ssh/id_rsa
lando-pull --config custom-landorc.json --verbose
lando-pull --skip-files
lando-pull --auth-method password --password my_secure_password

⚙️ Configuration (landorc.json)

Lando Pull uses a configuration file (landorc.json) to define remote connection details. By default, Lando Pull will look for a landorc.json or .landorc.json file in your project's root directory. You can also pass the custom path using --config parameter.

Example Configuration:

{
  "remote": {
    "host": "example.com",
    "user": "ssh_user",
    "port": 22,
    "authMethod": "key",
    "keyPath": "/path/to/private/key",
    "dbName": "database_name",
    "dbUser": "database_user",
    "dbPassword": "database_password",
    "tempFolder": "/tmp",
    "remoteFiles": "website/root/path/uploads"
  },
  "local": {
    "dbHost": "127.0.0.1",
    "dbName": "wordpress",
    "dbUser": "wordpress",
    "dbPassword": "wordpress",
    "dbPort": 3306,
    "tempFolder": "/tmp",
    "localFiles": "website/root/path/uploads",
    "databaseUpdates": [
      {
        "table": "wp_users",
        "column": "user_email",
        "conditions": [
          {
            "column": "user_login",
            "operator": "=",
            "value": "admin"
          }
        ],
        "value": "[email protected]"
      }
    ]
  }
}

Configurable Options

| Key | Description | | ------------------- | --------------------------------------------------- | | remote.host | Remote server hostname | | remote.user | SSH username | | remote.port | SSH port (default: 22) | | remote.path | Remote folder to sync (e.g., /wp-content/uploads) | | remote.dbName | Remote database name | | remote.dbUser | Remote database username | | remote.dbPassword | Remote database password | | remote.dbHost | Remote database host (e.g., 127.0.0.1) | | remote.authMethod | Authentication method (password or key) | | remote.keyPath | SSH key file path (if using key authentication) | | local.dbName | Local database name | | local.filesPath | Local folder to sync (e.g., /wp-content/uploads) |


📜 Example Outputs

############################################################
 Running Lando Pull
############################################################
**************************************************
 Pulling database
**************************************************
✔ [SUCCESS] Database imported successfully.
**************************************************
 Syncing files
**************************************************
✔ [SUCCESS] Files synchronized via rsync.
**************************************************
 Lando Pull Completed
**************************************************
🎉 All tasks completed successfully!

💡 Use Cases

  • WordPress Development – Easily pull live database & uploads to your local Lando site.
  • Backup & Restore – Quickly sync remote backups for local testing.
  • CI/CD Integration – Automate database and file sync in deployment workflows.

🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.