Socket
Socket
Sign inDemoInstall

mailinabox-api

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mailinabox-api

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


Version published
Weekly downloads
15
increased by400%
Maintainers
1
Install size
424 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 20 Dec 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc