entepe
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

NPM JavaScript Style Guide

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

Package Sidebar

Install

npm i entepe

Weekly Downloads

3

Version

0.0.4

License

MIT

Unpacked Size

93.5 kB

Total Files

61

Last publish

Collaborators

  • kvasna