Gathering detailed insights and metrics for ftp-response-parser
Gathering detailed insights and metrics for ftp-response-parser
Gathering detailed insights and metrics for ftp-response-parser
Gathering detailed insights and metrics for ftp-response-parser
npm install ftp-response-parser
Typescript
Module System
Min. Node Version
NPM Version
97.1
Supply Chain
98.9
Quality
74.6
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
45,800,051
Last Day
38,662
Last Week
276,905
Last Month
1,242,411
Last Year
13,349,700
3 Stars
6 Commits
1 Forks
3 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.1
Package Id
ftp-response-parser@1.0.1
Size
40.98 kB
NPM Version
1.4.27
Publised On
30 Sept 2014
Cumulative downloads
Total Downloads
Last day
-27.1%
38,662
Compared to previous day
Last week
-9.4%
276,905
Compared to previous week
Last month
3.2%
1,242,411
Compared to previous month
Last year
1.2%
13,349,700
Compared to previous year
1
This module provides a fast, lightweight streaming parser for FTP response format strings.
Given a string like this:
211-Features supported:\n
EPRT\n
EPSV\n
MDTM\n
MLST type*;perm*;size*;modify*;unique*;unix.mode;unix.uid;unix.gid;\n
REST STREAM\n
SIZE\n
TVFS\n
UTF8\n
211 End FEAT.\n
215 UNIX Type: L8\n
331 Username ok, send password.\n
230 Login successful.\n
200 Type set to: Binary.\n
250 "/test" is the current directory.\n
it will stream the following objects:
1{ 2 code: 211, 3 text: '211-Features supported:\n EPRT\n EPSV\n MDTM\n MLST type*;perm*;size*;modify*;unique*;unix.mode;unix.uid;unix.gid;\n REST STREAM\n SIZE\n TVFS\n UTF8\n211 End FEAT.', 4 isMark: false, 5 isError: false 6} 7{ 8 code: 215, 9 text: '215 UNIX Type: L8', 10 isMark: false, 11 isError: false 12} 13{ 14 code: 331, 15 text: '331 Username ok, send password.', 16 isMark: false, 17 isError: false 18} 19{ 20 code: 230, 21 text: '230 Login successful.', 22 isMark: false, 23 isError: false 24} 25{ 26 code: 200, 27 text: '200 Type set to: Binary.', 28 isMark: false, 29 isError: false 30} 31{ 32 code: 250, 33 text: '250 "/test" is the current directory.', 34 isMark: false, 35 isError: false 36}
1 2var ResponseParser = require('ftp-response-parser'); 3 4var myParser = new ResponseParser(); 5 6myParser.on('readable', function() { 7 var line; 8 while (line = myParser.read()) { 9 console.log(line.code); // will emit 215 10 } 11}); 12 13myParser.write('215 UNIX Type: L8'); 14
To get the module, with npm do:
npm install ftp-response-parser
With npm do:
npm test
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More