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

osls-aws-provider-request-shim

v1.0.2

Published

OSLS (Serverless Framework fork) plugin that adds AWS SDK v3 compatibility layer for legacy plugins using provider.request()

Readme

osls-aws-provider-request-shim

A compatibility plugin for OSLS v4 that adds an AWS SDK v3 compatibility layer for legacy plugins that use provider.request().

Overview

OSLS v4 removed the provider.request() method that many legacy Serverless plugins relied on. This plugin restores that functionality by shimming the method with AWS SDK v3 client calls, allowing older plugins to work seamlessly with OSLS v4.

Installation

npm install osls-aws-provider-request-shim --save-dev

Usage

Add the plugin to your serverless.yml file. Important: This plugin must be loaded before any plugins that depend on provider.request().

plugins:
  - osls-aws-provider-request-shim
  # Add other plugins that use provider.request() after this one
  - some-legacy-plugin

How It Works

The plugin intercepts the initialize hook and adds a request() method to the AWS provider. When called, it:

  1. Maps the service name to the appropriate AWS SDK v3 package
  2. Dynamically requires the necessary client and command
  3. Executes the command using the provider's AWS SDK v3 configuration
  4. Returns the result in the same format as the legacy method

Supported AWS Services

The plugin currently supports the following AWS services:

  • CloudFormation - @aws-sdk/client-cloudformation
  • StepFunctions - @aws-sdk/client-sfn
  • Lambda - @aws-sdk/client-lambda
  • S3 - @aws-sdk/client-s3
  • STS - @aws-sdk/client-sts
  • IAM - @aws-sdk/client-iam
  • ECR - @aws-sdk/client-ecr
  • API Gateway - @aws-sdk/client-api-gateway
  • API Gateway V2 - @aws-sdk/client-apigatewayv2
  • CloudWatch - @aws-sdk/client-cloudwatch
  • CloudWatch Logs - @aws-sdk/client-cloudwatch-logs
  • EventBridge - @aws-sdk/client-eventbridge
  • SSM - @aws-sdk/client-ssm
  • Cognito Identity Provider - @aws-sdk/client-cognito-identity-provider
  • SES V2 - @aws-sdk/client-sesv2
  • EC2 - @aws-sdk/client-ec2

To permanently add support for a service, you can create a pull request.

Compatibility

These plugins work using this plugin:

  • serverless-stack-termination-protection
  • serverless-step-functions

Requirements

  • OSLS/Serverless Framework: >= 4.0.0
  • AWS SDK v3 packages: Install as needed (the plugin will tell you which ones)