Naughty Pterodactyl Maid
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

maildir-scan

1.1.0 • Public • Published

maildir-scan

Finds messages from Maildir. Output is an array of folder objects that include an array of message objects. Actual message content is not loaded, this module is used for listing only. Tested on Courier based Maildir folders.

Install

npm install maildir-scan

Usage

const MaildirScan = require('maildir-scan');
let scanner = new MaildirScan();
scanner.scan('/path/to/Maildir', (err, list)=>{
    console.log(err || list);
});

License

ISC

Keywords

install

npm i maildir-scan

Downloadsweekly downloads

9

version

1.1.0

license

ISC

last publish

collaborators

  • avatar