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

aws-lambda-layer-cli

v2.0.4

Published

CLI tool for creating and publishing AWS Lambda layers for Node.js and Python.

Readme

AWS Lambda Layer CLI Tool

A command-line tool for creating and publishing AWS Lambda layers for Node.js and Python.

Features

  • Create and publish Lambda layers for Node.js (npm) and Python (uv/pip)
  • Automatic version management and smart naming
  • Direct publishing to AWS with IAM credentials and region support
  • Support for multiple packages in a single layer

Installation

Package Managers (Recommended)

npm (Node.js)

npm i -g aws-lambda-layer-cli

uv (Python)

uv tool install aws-lambda-layer-cli

Requirements

  • System: Linux, macOS, or Windows (WSL recommended)
  • Tools: zip, aws-cli (for publishing), node (for Node.js layers), python (for Python layers)

Usage

aws-lambda-layer-cli <command> [options]

Commands

  • zip: Create a local zip file
  • publish: Create and publish a layer to AWS
  • completion: Generate shell completion scripts
  • uninstall: Uninstall the tool
  • help: Show help message

Options

| Option | Description | |--------|-------------| | --nodejs, -n <pkgs> | Create Node.js layer (comma-separated packages) | | --python, -p <pkgs> | Create Python layer (comma-separated packages) | | --name | Custom layer name | | --description | Layer description (publish only) | | --profile | AWS CLI profile (publish only) | | --region | AWS region (publish only) | | --node-version | Node.js version (default: 24) | | --python-version | Python version (default: 3.14) | | --no-uv | Use pip/venv instead of uv | | -v, --version | Show version |

Examples

Node.js

# Create local zip with multiple packages
aws-lambda-layer-cli zip --nodejs [email protected],axios --name my-layer

# Publish to AWS with specific profile and region
aws-lambda-layer-cli publish --nodejs lodash --profile prod --region us-east-1 --description "Utils"

Python

# Create local zip with specific python version
aws-lambda-layer-cli zip --python numpy==1.26.0,pandas --python-version 3.12

# Publish to AWS
aws-lambda-layer-cli publish --python requests --name web-layer

Shell Completion

Add to your shell config (~/.bashrc or ~/.zshrc):

# Bash
source <(aws-lambda-layer-cli completion --bash)

# Zsh
source <(aws-lambda-layer-cli completion --zsh)

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.