open-index/open-npm huggingface dataset:
npm package: @masochistme/sdk
Description: Masochist.ME SDK
Author: Arcyvilk
Latest version: 3.2.5

# Masochist.ME SDK

SDK abstracting communication with the [Masochist.ME API](https://github.com/MasochistME/masochist-api).

→ [Documentation](https://masochistme.github.io/masochist-sdk)

→ [NPM package](https://www.npmjs.com/package/@masochistme/sdk)

→ [GitHub repository](https://github.com/MasochistME/masochist-sdk)

## Usage

We recommend using the latest version of the SDK as it is still under rapid development:

```sh
yarn add @masochistme/sdk@latest
```

To be able to use the MasochistSDK in your application, you will need to pass a configuration file to the SDK instance with two parameters:

- `host` - the basic path to the MasochistAPI (usually `http://masochist.me:3002`)
- `accessToken` - your personal API token

```ts
import { SDK } from "@masochistme/sdk/dist/v1/sdk";

const config = {
  host:        "http://masochist.me:3002",
  accessToken: "your_super_secret_access_token",
};

const sdk = new SDK(config);
```

You can use the SDK without having the personal access token, but you will be limited to only use selected endpoints. To get one, contact Arcyvilk#6666.

## Modules

MasochistSDK allows you to retrieve and manipulate data from the following categories:

- [members](https://masochistme.github.io/masochist-sdk/modules/Members.html)
- [games](https://masochistme.github.io/masochist-sdk/modules/Games.html)
- [badges](https://masochistme.github.io/masochist-sdk/modules/Badges.html)
- [races](https://masochistme.github.io/masochist-sdk/modules/Races.html)
- [seasons](https://masochistme.github.io/masochist-sdk/modules/Seasons.html)
- [tiers](https://masochistme.github.io/masochist-sdk/modules/Tiers.html)
npm package: @masofino/nestjs-mailer
Description: NestJS - a mailer module (@mailer) - With Fixes, Not production ready
Author: Nest Modules TM
Latest version: 2.1.3

<p align="center">
  <a href="http://nestjs.com/" target="blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" />
  </a>
</p>

<p align="center">
  A mailer module for Nest framework (node.js) using <a href="https://nodemailer.com/">Nodemailer</a> library,
  this was created from a fork of an existing package but was not updated, <a href="https://www.npmjs.com/package/@nestjs-modules/mailer">LINK</a>,
  the main contributor here is the github user AnhNg6262 who made these fixes <a href="https://github.com/nest-modules/mailer/pull/1242"> GIT PULL </a>,
  i did not know i he made a package already, but i did for my project. It should work haha, all my test did pass.

  Do not use in production
</p>

### Installation

```sh
npm install --save @nestjs-modules/mailer nodemailer
npm install --save-dev @types/nodemailer
#or
yarn add @nestjs-modules/mailer nodemailer
yarn add -D @types/nodemailer
```

**Hint:** handlebars and pug is an optional dependency, if you want to use the template, you must install it.

#### with npm
```sh
npm install --save handlebars
#or
npm install --save pug
#or
npm install --save ejs
#or
npm install --save mjml
```

#### with yarn
```sh
yarn add handlebars
#or
yarn add pug
#or
yarn add ejs
#or
yarn add mjml
```

### Documentation

you can find all the documentation [here](https://nest-modules.github.io/mailer/) for the email module

### Starter kit

- [Sending email-template with outlook](https://github.com/yanarp/nestjs-mailer) - Starter kit, nestjs mailer implementation on outlook smtp with email-template

### Contributing

* [Cristiam Diaz](https://github.com/cdiaz)
* [Eduardo Leal](https://github.com/eduardoleal)
* [Juan Echeverry](https://github.com/juandav)
* [Pat McGowan](https://github.com/p-mcgowan)
* [Paweł Partyka](https://github.com/partyka95)
* [Wasutan Kitijerapat](https://github.com/kitimark)
* [Alexandre Titeux](https://github.com/GFoniX)
* [ANh Nguyễn](https://github.com/AnhNg6262)
* [Teodor Petrovic](https://github.com/TeodorPetrovic/)

### License

MIT