https://github.com/getlarge/nestjs-tools
Open-source libraries for NestJS framework
https://github.com/getlarge/nestjs-tools
async-local-storage cluster lock microservices nestjs rabbitmq typescript
Last synced: 3 months ago
JSON representation
Open-source libraries for NestJS framework
- Host: GitHub
- URL: https://github.com/getlarge/nestjs-tools
- Owner: getlarge
- License: apache-2.0
- Created: 2022-03-15T04:22:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T09:56:24.000Z (5 months ago)
- Last Synced: 2025-03-29T12:11:19.919Z (3 months ago)
- Topics: async-local-storage, cluster, lock, microservices, nestjs, rabbitmq, typescript
- Language: TypeScript
- Homepage:
- Size: 3.04 MB
- Stars: 59
- Watchers: 4
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
- Audit: audit-ci.json
Awesome Lists containing this project
README
# NestJS Tools
[](https://opensource.org/license/apache-2-0)
[](https://github.com/getlarge/nestjs-tools/actions/workflows/node.yml)
[](https://sonarcloud.io/summary/new_code?id=getlarge_nestjs-tools)
[](https://github.com/prettier/prettier)This repository contains several helpful packages for NestJS that I have developed for NestJS applications running in production.
## List of packages
| Package | Description | Version |
| --------------------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [AMQP-Transport](./packages/amqp-transport/README.md) | A NestJS microservice adapter around [AMQPlib] supporting exchanges. | [](https://npmjs.org/package/@getlarge/nestjs-tools-amqp-transport) |
| [Async-Local-Storage](./packages/async-local-storage/README.md) | A NestJS module to track context with [AsyncLocalStorage]. | [](https://npmjs.org/package/@getlarge/nestjs-tools-async-local-storage) |
| [Cluster](./packages/cluster/README.md) | A class to manage workers' lifecycle in a (Node.js) [cluster]. | [](https://npmjs.org/package/@getlarge/nestjs-tools-cluster) |
| [ESLint-Plugin](./packages/eslint-plugin/README.md) | A set of ESLint rules for NestJS applications. | [](https://npmjs.org/package/@getlarge/eslint-plugin-nestjs-tools) |
| [File-Storage](./packages/file-storage/README.md) | A NestJS module supporting [FS], [S3] and [GCP] strategies. | [](https://npmjs.org/package/@getlarge/nestjs-tools-file-storage) |
| [Lock](./packages/lock/README.md) | A NestJS module to provide a distributed lock for your application. | [](https://npmjs.org/package/@getlarge/nestjs-tools-lock) |
| [Fastify-Upload](./packages/fastify-upload/README.md) | A NestJS module to provide file upload support for Fastify. | [](https://npmjs.org/package/@getlarge/nestjs-tools-fastify-upload) |## Installation and usage
Check the README of each package for more details.
## Examples
Check out the following projects for examples of using these packages:
- The [ticketing repository](https://github.com/getlarge/ticketing) is a real-world example of AMQP-Transport, File-Storage, Lock
- The [cat fostering repository](https://github.com/getlarge/catfostering) uses Fastify-Upload[AMQPlib]: https://amqp-node.github.io/amqplib/
[AsyncLocalStorage]: https://nodejs.org/api/async_context.html#class-asynclocalstorage
[cluster]: https://nodejs.org/api/cluster.html
[FS]: https://nodejs.org/api/fs.html
[S3]: https://aws.amazon.com/s3/
[GCP]: https://cloud.google.com/storage