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

@travetto/web-aws-lambda

v8.0.3

Published

Web APIs entry point support for AWS Lambdas.

Readme

Web AWS Lambda

Web APIs entry point support for AWS Lambdas.

Install: @travetto/web-aws-lambda

npm install @travetto/web-aws-lambda

# or

yarn add @travetto/web-aws-lambda

This module provides an adapter between Web API and AWS Lambda. The event-driven invocation model for Web API aligns cleanly with AWS Lambda's model for event-driven operation.

NOTE: The only caveat to consider, is that while the framework supports streams for responses, AWS Lambda does not. Any streaming result will be read and converted into a Buffer before being sent back.

CLI - pack:lambda

Use this command to produce the Lambda-ready archive for deployment.

Terminal: Help for pack:lambda

$ trv pack:lambda --help

Usage: pack:lambda [options] [args...:string]

Description:
  Build an AWS Lambda-ready zip package using the pack pipeline.

  Configures the Lambda entrypoint and emits a compressed deployment artifact
  suitable for direct Lambda upload workflows.

Options:
  -b, --buildDir <string>              Workspace for building (default: "/tmp/<temp-folder>")
  --clean, --no-clean                  Clean workspace (default: true)
  -o, --output <string>                Output location (default: "<module>.zip")
  -es, --main-scripts                  Create entry scripts (default: false)
  -f, --main-name <string>             Main name for build artifact
  -e, --entry-point <string>           Entry point (default: "@travetto/web-aws-lambda/support/entry.handler.ts")
  --minify, --no-minify                Minify output (default: true)
  -sm, --sourcemap                     Bundle source maps (default: false)
  -is, --include-sources               Include source with source maps (default: false)
  -x, --eject-file <string>            Eject commands to file
  -r, --rollup-configuration <string>  Rollup configuration file (default: "@travetto/pack/support/rollup/build.ts")
  --env-file <string>                  Env Flag File Name (default: ".env")
  --manifest-file <string>             Manifest File Name (default: "manifest.json")
  -wr, --include-workspace-resources   Include workspace resources (default: false)
  -np, --npm-package <string>          External NPM Packages (default: [])
  -m, --module <module>                Module to run for
  --help                               display help for command

Examples: