An NNTP Client Library targeting NodeJS. It supports the authentication, TLS encryption, base NNTP commands, and more.
I started this project after trying several NNTP clients and libraries and being disappointed in functionality, test coverage, and documentation. This library has extensive tests pulled directly from the implemented RFC documents themselves, and several examples.
Be sure to use the latest LTS (8.9.4+) of NodeJS. Earlier versions of NodeJS are not supported.
Install the library with yarn or npm:
npm install newsie# oryarn add newsie
Use the library to talk to an NNTP server:
const Client = defaultconst client =host: 'news.easynews.com'port: 110client
See the examples folder for more examples.
In IntelliJ, to debug files in the src directory, set
All code is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3.