open-index/open-npm huggingface dataset:
npm package: @squareboat/nest-events
Description:  The event listener package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 0.1.1

<div align="center"><strong>Integrate event listeners easily inside your nestjs application</strong></div>

<div align="center">Custom implementation of event listeners. Now, run your decoupled code beautifully without ever bothering of shaking the main code.</div>

## Features

- *__Quick Setup__* - Quickly setup and configure your application

- *__Loose coupling__* - Run codes in parallel accross modules, so that you never need to tightly couple the code.

## Documentation

To read the complete documentation, [click here](https://opensource.squareboat.com/nest-events/).

## Contributing
To know about contributing to this package, read the guidelines [here](./CONTRIBUTING.md)


## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-eyewitness
Description: A simple easy-to-use package to receive error reports directly to your inbox whenever any exception is witnessed 👀 in your NestJS application.
Author: Vinayak Sarawagi
Latest version: 1.0.1

# Nest Eyewitness

A simple easy-to-use package to receive error reports directly to your inbox whenever any exception is witnessed 👀 in your NestJS application.

Be the first one to know about the error as soon as it happens and take action.

### Features

- ✅ Email first error reporter
- ✅ Comprehensive support for custom webhooks
- ✅ Access to complete stack trace for easy debugging and decision making
- ✅ Fast Integration and comprehensive documentation

For complete documentation, head over to [our site](https://opensource.squareboat.com/nest-eyewitness).

---

## Contributing

Please see our contributing [guidelines](./CONTRIBUTING.md).

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

----

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-firebase
Description: Firebase package for NestJS
Author: Vinayak Sarawagi
Latest version: 0.0.2

# NestJS Firebase

Firebase Package for NestJS.

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

----
## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-mailman
Description: 📮 The mailer package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 1.0.6

# Nest Mailman

📮 The mailer package for your NestJS Applications.

### Features

- ✅ Build mails programmtically
- ✅ Supports MJML + React templating
- ✅ Use JSX to easily create clean components
- ✅ Comes with built-in template to quickly send mails without creating templates.
- ✅ Uses nodemailer internally

For complete documentation, head over to [our site](https://squareboat.com/open-source/nest-mailman/).

---

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

---

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-queue
Description: The queue package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 0.1.5

## Introduction
Queues are a form of asynchronous service-to-service communication used in backend architecture. They can be used to decouple or defer heavy weight processing such as sending Mails, processing large database operations etc. Messages are kept in queue until processed. Seperating these heavy time consuming tasks drastically improves your response.

Above all, you can easily perform the processing of the messages on the distributed system without causing any workload spike on your consumer-facing server ever again.

__Supported Queues__

- Sync
- AWS SQS
- Redis
- RabbitMQ (Coming Soon)
- MySQL/Postgres (Coming Soon)
- MongoDB (Coming Soon)

__Few Hightlights__

- ✅ Easy to setup and configure
- ✅ Handle multiple queues with ease
- ✅ Harnesses the powerful DI system by NestJS for creating jobs
- ✅ Configurable messages, queues and jobs
- ✅ Delay jobs as per your requirement
- ✅ Run multiple queues in parallel

## Documentation

To read the complete documentation, [click here](https://squareboat.com/open-source/nest-queue/).

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-queue-redis
Description: The redis queue package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 0.0.5

# Redis Strategy for Nest Queue Package

Package for Redis strategy package for [@squareboat/nest-queue](https://squareboat.com/open-source/nest-queue/)

## Other Available Queues

- Sync (Added by default in [@squareboat/nest-queue](https://squareboat.com/open-source/nest-queue/))
- AWS SQS ([@squareboat/nest-queue-sqs](https://github.com/squareboat/nest-queue-sqs))
- Redis ([@squareboat/nest-queue-redis](https://github.com/squareboat/nest-queue-redis))
- RabbitMQ (Coming Soon)

## Documentation

To read the complete documentation, [click here](https://squareboat.com/open-source/nest-queue).

## Contributing

To know about contributing to this package, read the guidelines [here](./CONTRIBUTING.md)

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-queue-sqs
Description: The AWS SQS queue package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 0.0.7

# Nest Queue Strategy

Package for AWS SQS strategy package for [@squareboat/nest-queue](https://squareboat.com/open-source/nest-queue/)

## Other Available Queues

- Sync (Added by default in [@squareboat/nest-queue](https://squareboat.com/open-source/nest-queue/))
- AWS SQS ([@squareboat/nest-queue-sqs](https://squareboat.com/open-source/nest-queue/))
- Redis ([@squareboat/nest-queue-redis](https://squareboat.com/open-source/nest-queue/))
- RabbitMQ (Coming Soon)

## Documentation

To read the complete documentation, [click here](https://squareboat.com/open-source/nest-queue/strategies).

## Contributing

To know about contributing to this package, read the guidelines [here](./CONTRIBUTING.md)

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nest-queue-strategy
Description: The queue strategy package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 0.0.9

# Nest Queue Strategy

Package for implementing different strategies for nest-queue.

To know more about nest-queue package, [click here](https://squareboat.com/open-source/nest-queue/)

## Supported Queues

- Sync (Added by default in [@squareboat/nest-queue](https://squareboat.com/open-source/nest-queue/))
- AWS SQS ([@squareboat/nest-queue-sqs](https://squareboat.com/open-source/nest-queue/))
- Redis ([@squareboat/nest-queue-redis](https://squareboat.com/open-source/nest-queue/))
- RabbitMQ (Coming Soon)

## Documentation

To read the complete documentation, [click here](https://squareboat.com/open-source/nest-queue/strategies).

## Contributing

To know about contributing to this package, read the guidelines [here](./CONTRIBUTING.md)

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squareboat/nestjs-objection
Description: The objection database package for your NestJS Applications
Author: Vinayak Sarawagi
Latest version: 0.3.9

## Introduction

Almost every application nowadays, requires a database to persist data. We have integrated [`ObjectionJS`](https://vincit.github.io/objection.js/) as our supported ORM.

`ObjectionJS` provides very clean and fluent APIs to build and run complex queries at ease. We have worked in the past with many ORMs, but `ObjectionJS` stood out, it is relatively young but more mature in terms of its offerings.

**Why we ❤️ ObjectionJS**:

- ✅ Very clean and mature Query Builder
- ✅ Fluent Relational Queries
- ✅ Official Typescript Support
- ✅ Clean Migrations and Seeders using [`KnexJS`](http://knexjs.org/)
- ✅ Support for Hooks
- ✅ Powerful model entity relation operations
- ✅ Easy to use Transactions

**What we have added on top of it?**:

- ✅ Setting up project is now much easier than ever
- ✅ Custom `BaseModel` having performant functions
- ✅ In-built `DatabaseRepository` to help you maintain data store functions smartly
- ✅ Beautiful console commands to manage migrations
- ✅ Custom `QueryBuilder` with some much needed methods
- ✅ Utilise multiple connections in repositories smartly.
- ✅ Clean Transaction API using Repositories

## Documentation

To read the complete documentation, [click here](https://squareboat.com/open-source/nestjs-boilerplate/database/introduction/).

## Contributing

To know about contributing to this package, read the guidelines [here](./CONTRIBUTING.md)

## About Us

We are a bunch of dreamers, designers, and futurists. We are high on collaboration, low on ego, and take our happy hours seriously. We'd love to hear more about your product. Let's talk and turn your great ideas into something even greater! We have something in store for everyone. [☎️ 📧 Connect with us!](https://squareboat.com/contact)

## License

The MIT License. Please see License File for more information. Copyright © 2020 SquareBoat.

Made with ❤️ by [Squareboat](https://squareboat.com)
npm package: @squarecloud/api
Description: A NodeJS wrapper for Square Cloud API
Author: joaotonaco
Latest version: 3.8.0

<div align="center">
  <img alt="Square Cloud Banner" src="https://cdn.squarecloud.app/png/github-readme.png">
</div>

<h1 align="center">@squarecloud/api</h1>

<p align="center">A NodeJS SDK for consuming the <a href="https://squarecloud.app" target="_blank">Square Cloud</a> API.</p>

<div align="center">
  <div style="width: fit-content; display: flex; align-items: flex-start; gap: 4px;">
    <img alt="NPM License" src="https://img.shields.io/npm/l/@squarecloud/api">
    <img alt="NPM Downloads" src="https://img.shields.io/npm/dw/@squarecloud/api">
    <a href="https://npmjs.com/package/@squarecloud/api">
      <img alt="NPM Version" src="https://img.shields.io/npm/v/@squarecloud/api">
    </a>
  </div>
</div>

## Installation

```bash
npm install @squarecloud/api
// or
yarn add @squarecloud/api
// or
pnpm add @squarecloud/api
```

## Documentation

Visit our [official documentation](https://docs.squarecloud.app/sdks/js/) for more information about how to use this library.

## Getting Started

```ts
import { SquareCloudAPI } from "@squarecloud/api"
// const { SquareCloudAPI } = require("@squarecloud/api");

const api = new SquareCloudAPI("Your API Key")
const user = await api.users.get()
const application = user.applications.get("Application ID")
```

## Contributing

Feel free to contribute with suggestions or bug reports at our [GitHub repository](https://github.com/squarecloudofc/sdk-api-js).

## Authors

- [@joaotonaco](https://github.com/joaotonaco)
- [@joaootavios](https://github.com/joaootavios)
npm package: @squarecloud/api-types
Description: Typings for Square Cloud API
Author: João Tonaco
Latest version: 0.6.0

# Square Cloud API Types

Simple type definitions for the [Square Cloud API](https://docs.squarecloud.app/api-reference/).

[![GitHub](https://img.shields.io/github/license/discordjs/discord-api-types)](https://github.com/discordjs/discord-api-types/blob/main/LICENSE.md)
[![npm](https://img.shields.io/npm/v/@squarecloud/api-types?color=crimson&logo=npm)](https://www.npmjs.com/package/@squarecloud/api-types)

## Installation

Install with [npm](https://www.npmjs.com/) / [yarn](https://yarnpkg.com) / [pnpm](https://pnpm.js.org/):

```sh
npm install @squarecloud/api-types
yarn add @squarecloud/api-types
pnpm add @squarecloud/api-types
```

## Getting Started

Using these type definitions is straightforward. You just need to specify the desired API version by appending `/v*` to the import path, where `*` represents your chosen API version. Here are some usage examples:

```ts
// Importing the API definitions for version 2
import { APIApplication } from '@squarecloud/api-types/v2';
```

You can also opt to import only the specific parts of the module that you need. Your choices include `common`, `utils`, `payloads/v*`, `rest/v*`. Here are examples:

```ts
// Importing a specific REST endpoint for version 2
import { RESTPostAPIApplicationCommitQuery } from '@squarecloud/api-types/rest/v2';
```

> _**Note:** The `v*` exports (`@squarecloud/api-types/v*`) include the relevant  version of `payloads` and `rest`, alongside the `common` and `utils` exports._

## Project Structure

The exported types for each API version are organized into two main categories:

- Types with an `API` prefix represent payloads you may receive from the REST API.
- Types with a `REST` prefix represent data that is sent to and received from the REST API.
  
For endpoint options in the `REST` category, they follow a specific structure: `REST<HTTP Method><Type><Query|(JSON|FormData)Body|Result|ResultPayload>`, where the type indicates the expected return data. For example, `RESTPostAPIApplicationCommitQuery` or `RESTPostAPIApplicationUploadResult`.

- If a type name ends with `Result`, it represents the expected result when calling its corresponding route.
- If a type name ends with `ResultPayload`, it represents the raw result you can expect when calling its corresponding route.
npm package: @squarecloud/blob
Description: Official Square Cloud Blob SDK for NodeJS
Author: joaotonaco
Latest version: 1.4.3

<div align="center">
  <img alt="Square Cloud Banner" src="https://cdn.squarecloud.app/png/github-readme.png">
</div>

<h1 align="center">@squarecloud/blob</h1>

<p align="center">Official <a href="https://squarecloud.app" target="_blank">Square Cloud</a> Blob SDK for NodeJS.</p>

<div align="center">
  <div style="width: fit-content; display: flex; align-items: flex-start; gap: 4px;">
    <img alt="NPM License" src="https://img.shields.io/npm/l/@squarecloud/blob">
    <img alt="NPM Downloads" src="https://img.shields.io/npm/dw/@squarecloud/blob">
    <a href="https://npmjs.com/package/@squarecloud/blob">
      <img alt="NPM Version" src="https://img.shields.io/npm/v/@squarecloud/blob">
    </a>
  </div>
</div>

## Installation

```bash
npm install @squarecloud/blob
// or
yarn add @squarecloud/blob
// or
pnpm add @squarecloud/blob
```

## Documentation

Visit our [official API documentation](https://docs.squarecloud.app/blob-reference/) for more information about this service.

## Getting Started

- _Login and get your API Key at [https://squarecloud.app/account](https://squarecloud.app/account)._

```ts
import { SquareCloudBlob } from "@squarecloud/blob"
// CommonJS => const { SquareCloudBlob } = require("@squarecloud/blob");

const blob = new SquareCloudBlob("Your API Key")
const objects = await blob.objects.list()
```

### Creating an object

- _Check supported file types [here](https://docs.squarecloud.app/services/blob#supported-file-types)._

```ts
const blobObject = await blob.objects.create({
  file: "path/to/file.png", // Absolute path to your file
  name: "my_image",         // File name without extension
})

console.log(blobObject.url)
```

#### Advanced usage with Buffer

```ts
import { MimeTypes } from "@squarecloud/blob"
// CommonJS => const { MimeTypes } = require("@squarecloud/blob")

const blobObject = await blob.objects.create({
  file: Buffer.from("content"),
  name: "my_image",
  mimeType: MimeTypes.IMAGE_JPEG, // Also accepts an string "image/jpeg"
})

console.log(blobObject.url)
```

### Deleting object

```ts
await blob.objects.delete("ID/prefix/name1_xxx-xxx.mp4")
```

### Extras

#### Mime types handling

- _Check supported file types [here](https://docs.squarecloud.app/services/blob#supported-file-types)._

```ts
import { MimeTypeUtil } from "@squarecloud/blob"

// Get a supported mime type from a file extension
console.log(MimeTypeUtil.fromExtension("jpeg"))   // "image/jpeg"       | Supported
console.log(MimeTypeUtil.fromExtension("json"))   // "application/json" | Supported
console.log(MimeTypeUtil.fromExtension("potato")) // "text/plain"       | Unsupported, defaults to text/plain
```

## Contributing

Feel free to contribute with suggestions or bug reports at our [GitHub repository](https://github.com/squarecloudofc/sdk-blob-js).

## Authors

- [@joaotonaco](https://github.com/joaotonaco)
npm package: @squarecloud/eslint-config
Description: ESLint configuration pattern used in Square Cloud
Author: João Otávio
Latest version: 0.1.6

# @squarecloud/eslint-config 

A Full-Stack ESLint config for React and Node.js projects with Next.js support and Prettier integration.
Created by [Square Cloud](https://squarecloud.app), inspired by [rocketseat-eslint](https://github.com/rocketseat/eslint-config-rocketseat).

## Whats included?

- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;

## Setup

Install dependencies:
```
npm install -D eslint @squarecloud/eslint-config
```

`.eslintrc.json` Node.JS project
```
{
  "extends": "@squarecloud/eslint-config/node"
}
```

`.eslintrc.json` React (with Next.js)
```
{
  "extends": [
    "@squarecloud/eslint-config/next", 
    "next/core-web-vitals"
  ]
}
```

`.eslintrc.json` React (without Next.js)
```
{
  "extends": "@squarecloud/eslint-config/react"
}
```