@protocoljs/imap
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.4 • Public • Published

Protocol.js

NPM Version NPM Downloads npms.io

Create your own, robust and easy to use IMAP server. Built with Node.js and Typescript, this package offers a lightweight, high performance and straightforward interface for setting up and launching your own IMAP server.

Installation

Node LTS 20.x or higher
This package is available on npm as follows and supports both CommonJS and ECMAScript modules (ESM) projects:

npm install @protocoljs/imap

Documentation

The official documentation is available at https://protocoljs.github.io/docs

Reporting

You can report issues and suggest features on GitHub Issues.

Simple example

Launching you own IMAP server has never been that simple! Here's a quick example to start.

import imap from "@protocoljs/imap"

function myAuthenticationFunction() : boolean {
  // your custom authentication code
}

const server = imap()
server.authenticate(myAuthenticationFunction)
server.listen({port: 993, host: '0.0.0.0'})

Package Sidebar

Install

npm i @protocoljs/imap

Weekly Downloads

6

Version

1.0.0-alpha.4

License

MIT

Unpacked Size

16.1 kB

Total Files

14

Last publish

Collaborators

  • grangelouis