README
Entepe
Experimental utility library that makes working with Usenet server possible in Node.JS environment. Made as a part of authors Bachelor Lunews project.
- RFC 3977 compliant
- Uses MIME decoding and encoding
- Typed with TypeScript
TODO: 100% test coverage, Secure connect option
Install
npm install --save entepe
Usage
import NNTP, { interfaces } from 'entepe'
const options = {
host: usenet.HOST.IP.address,
port: usenet.HOST.port,
};
const connection: NNTP = new NNTP(options);
await connection.connect();
const remoteArticle: interfaces.IMessageInfo = await connection.getArticleHead('<globalId.usenet.org>');
await connection.quit();
License
MIT © NomiAdam