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

@ladabees/qr-cli

v1.0.5

Published

A command-line tool for generating QR codes

Readme

LadaQR CLI

A command-line tool for generating QR codes. This tool combines Node.js and Python to provide a simple yet powerful QR code generation utility.

Prerequisites

  • Node.js (>= 12.0.0)
  • Python 3.x
  • pip (Python package installer)

Installation

Install the package globally using npm:

npm install -g @ladabees/qr-cli

The installation process will automatically install the required Python dependencies.

Usage

Once installed, you can use the ladaqr command from anywhere in your terminal:

ladaqr <data> [output_file] [size]

Parameters:

  • <data>: The data to encode in the QR code (URL, text, etc.)
  • [output_file]: (Optional) The output file name (default: output.png)
  • [size]: (Optional) The size of the QR code in pixels (default: 300)

Examples

  1. Generate a QR code for a URL:
ladaqr "https://example.com"
  1. Generate a QR code with a custom filename:
ladaqr "Hello World" hello.png
  1. Generate a QR code with custom size:
ladaqr "Hello World" qr.png 500

Features

  • Simple command-line interface
  • Customizable QR code size
  • High-quality QR code generation using Python's qrcode library
  • Cross-platform support (Windows, macOS, Linux)

Troubleshooting

If you encounter any issues with Python dependencies, you can manually install them:

pip install qrcode[pil]

License

ISC

Author

Ladabees


- To generate a QR code for a URL and save it as `my_qr_code.png` with a size of `400`:

```bash
./qr-cli.sh "https://example.com" "my_qr_code.png" 400
  • To generate a QR code for a simple text and save it as text_qr.png with a size of 200:

    ./qr-cli.sh "Hello, World!" "text_qr.png" 200

Dependencies

  • Python 3: The script requires Python 3 to execute the Python script (main.py).
  • qrcode library: The script uses the qrcode library to generate QR codes.

The script will automatically install the required qrcode library if it is not already installed.

To manually install the qrcode library, run:

pip install qrcode[pil]

License

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


Feel free to contribute to the project by opening issues or pull requests.

Deployment

Follow these steps to deploy and publish the package to npm:

Prerequisites

  1. Ensure you have an npm account

    # Login to your npm account
    npm login
  2. Verify the package contents

    • Check package.json for correct:
      • name (@ladabees/qr-cli)
      • version
      • description
      • dependencies
      • bin configuration
    • Ensure all required files are listed in the "files" field

Pre-deployment Checks

  1. Run tests if available

    npm test
  2. Verify the package works locally

    # Install dependencies
    npm install
       
    # Create a test QR code
    node index.js "test" test.png

Publishing

  1. Update version (if needed)

    npm version patch  # For bug fixes
    npm version minor  # For new features
    npm version major  # For breaking changes
  2. Publish the package

    npm publish --access public
  3. Verify deployment

    # Install the published package globally
    npm install -g @ladabees/qr-cli
       
    # Test the installed package
    ladaqr "test" verification.png

Post-deployment

  1. Tag the release in git

    git tag v1.0.0  # Replace with your version
    git push origin v1.0.0
  2. Update documentation if needed

Troubleshooting

If you encounter publishing issues:

  1. Ensure you're logged in to npm

    npm whoami
  2. Check if the package name is available

    npm search @ladabees/qr-cli
  3. Verify your npm account has necessary permissions