🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

mailinabox-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
m

mailinabox-api

Client SDK for the Mail-in-a-Box API

0.51.1
latest
78

Supply Chain Security

100

Vulnerability

86

Quality

76

Maintenance

100

License

Version published
Maintainers
1
Created
Issues
1

mailinabox-api

Build & Publish

JavaScript/TypeScript client SDK for the Mail-in-a-Box API.

  • API version: 0.51.0
  • Package version: 0.51.1

https://www.npmjs.com/package/mailinabox-api

NOTE: This package is auto-generated from the Mail-In-A-Box OpenAPI spec.

Installing

npm install mailinabox-api --save

Usage

import {
  Configuration,
  ConfigurationParameters,
  MailUsersResponseFormat,
  MailApi
} from 'mailinabox-api';

const apiConfigParams: ConfigurationParameters = {
  basePath: '/admin',
  username: 'YOUR_USERNAME',
  password: 'YOUR_PASSWORD'
};

const apiConfig = new Configuration(apiConfigParams);
const mailApi = new MailApi(apiConfig);

// example request
const users = await mailApi.getMailUsers({
  format: MailUsersResponseFormat.Json,
});

License

MIT License

Copyright (c) 2020 Richard Willis

FAQs

Package last updated on 20 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts