# @collapp/utils

> A set of useful functions

Latest version **0.0.2** (published 2021-11-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install @collapp/utils
pnpm add @collapp/utils
yarn add @collapp/utils
bun add @collapp/utils
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-11-19 |
| First published | 2021-11-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | collapp |

## Links

- npm: https://www.npmjs.com/package/@collapp/utils
- npm.io page: https://npm.io/package/@collapp/utils

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [react](https://npm.io/package/react.md) ^17.0.2
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^4.3.2

## Recent versions

- 0.0.2 (latest) — 2021-11-19
- 0.0.1 — 2021-11-19

## README

### Some basic usage!

> npm i @collapp/email-sdk

## Example login email
```javascript
import { Login } from "@collapp/email-sdk";

async function fun() {
  const mail = new Login(process.env.RABBIT_URL);
  await mail.send({
    to: "yourEmail@example.com",
    subject: "Welcome to Collapp!",
    secret: process.env.SECRET,
    // Context data to fill email template
    context: {
      email: "yourEmail@example.com",
      url: "https://github.com/collapp-zpi/email-sdk",
    },
  });
  mail.disconnect();
}
fun();
```

---
_Source: https://npm.io/package/@collapp/utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
