UNPKG
nntp-server
Version:
latest (3.1.0)
3.1.0
3.0.0
2.0.0
1.0.3
1.0.2
1.0.1
1.0.0
NNTP server implementation.
github.com/nodeca/nntp-server
nodeca/nntp-server
nntp-server
/
lib
/
commands
/
help.js
21 lines
(15 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// https://tools.ietf.org/html/rfc3977#section-7.2
//
'use strict'
;
const
status =
require
(
'../status'
);
module
.
exports
= {
head
:
'HELP'
,
validate
:
/^HELP$/i
,
pipeline
:
true
,
run
(
) {
return
[ status.
_100_HELP_FOLLOWS
,
'.'
]; } };