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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@getsaas/layer-nestjs-v8

v0.0.5

Published

Kitchen Sink (kinda) AWS Layer for apps built on NestJS v8

Downloads

5

Readme

getsaas-layer-nestjs-v8

Kitchen Sink (kinda) AWS Layer for AWS Lambda functions built on NestJS v8

Deploying to your AWS account

Coming soon

Batteries included

Here's the list of packages provided by this layer:

| Package | Version | Why? | |:--- |:--- |:--- | | @nestjs/common | ^8.0.4 | NestJS Core Dependencies | | @nestjs/core | ^8.0.4 | NestJS Core Dependencies | | @nestjs/bull | ^0.4.0 | Redis-based External Queues | | bull | ^3.3 | Redis-based External Queues | | @nestjs/config | ^1.0.1 | Configuration | | @nestjs/cqrs | ^8.0.0 | Command Query Responsibility Segregation | | @nestjs/elasticsearch | ^8.0.0 | Elasticsearch Integration | | @elastic/elasticsearch | ^7.4.0 | Elasticsearch Integration | | @nestjs/event-emitter | ^1.0.0 | In-App Event Emitter | | eventemitter2 | =6.4.4 | In-App Event Emitter | | @nestjs/graphql | ^8.0.2 | GraphQL APIs | | @apollo/federation | ^0.26.0 | GraphQL APIs | | @apollo/gateway | ^0.33.0 | GraphQL APIs | | apollo-server-core | =2.21.1 | GraphQL APIs | | graphql | ^14.5.0 | GraphQL APIs | | @nestjs/passport | ^8.0.0 | Passport-based Auth | | passport | ^0.4.0 | Passport-based Auth | | @nestjs/jwt | ^8.0.0 | Passport-based Auth | | @nestjs/platform-express | ^8.0.4 | Express on AWS Lambda | | @vendia/serverless-express | ^4.3.9 | Express on AWS Lambda | | express | ^4.17.1 | Express on AWS Lambda | | @nestjs/serve-static | ^2.2.2 | Static File Serving | | @nestjs/swagger | ^5.0.8 | REST APIs | | swagger-ui-express | ^4.1.6 | REST APIs | | @nestjs/throttler | ^2.0.0 | Request Rate Limiting | | @nestjs/mongoose | ^8.0.0 | MongoDB Support | | mongoose | ^5.12.4 | MongoDB Support | | cache-manager | ^3.4.4 | Other NestJS Dependencies | | class-transformer | ^0.4.0 | Other NestJS Dependencies | | class-validator | ^0.13.1 | Other NestJS Dependencies | | @nestjs/mapped-types | ^1.0.0 | Other NestJS Dependencies | | reflect-metadata | ^0.1.13 | Other NestJS Dependencies | | rxjs | ^7.2.0 | Other NestJS Dependencies |

Usage

As a NodeJS dependency in your project

In your project directory:

yarn add @getsaas/layer-nestjs-v8

or

npm i -S @getsaas/layer-nestjs-v8

Now when you build and deploy your lambda function, the node_modules directory will include all dependencies in the layer.

As an AWS Lambda layer

In your project directory:

yarn add -D @getsaas/layer-nestjs-v8

or

npm i -D @getsaas/layer-nestjs-v8

When you build your lambda function for deployment, make sure to only install production dependencies. Then:

  1. Go to the details page for your AWS Lambda Function,
  2. Click on Layers and then on Add a layer,
  3. Select Custom layers (Choose a layer from a list of layers created by your AWS account or organization.) as the Layer source,
  4. From the Custom layers dropdown list, select getsaas-layer-nestjs-v8 and select the appropriate layer version:

Provide layer ARN