Gathering detailed insights and metrics for parse-apache-directory-index
Gathering detailed insights and metrics for parse-apache-directory-index
Gathering detailed insights and metrics for parse-apache-directory-index
Gathering detailed insights and metrics for parse-apache-directory-index
npm install parse-apache-directory-index
Typescript
Module System
Node Version
NPM Version
68.7
Supply Chain
87.3
Quality
75.2
Maintenance
100
Vulnerability
100
License
JavaScript (55.51%)
HTML (44.49%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
9 Stars
71 Commits
6 Forks
3 Watchers
4 Branches
4 Contributors
Updated on Aug 11, 2024
Latest Version
4.0.0
Package Id
parse-apache-directory-index@4.0.0
Unpacked Size
20.12 kB
Size
4.12 kB
File Count
12
NPM Version
8.19.3
Node Version
16.19.1
Published on
May 12, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
2
Parse an HTML Apache directory index.
1const parse = require('parse-apache-directory-index'); 2 3console.log(parse(` 4 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 5 <html> 6 <head> 7 <title>Index of /foo/bar</title> 8 </head> 9 <body> 10 <h1>Index of /foo/bar</h1> 11 <table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr><tr><th colspan="5"><hr></th></tr> 12 <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="beep/">beep/</a> </td><td align="right">25-May-2016 11:53 </td><td align="right"> - </td><td> </td></tr> 13 <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="boop20160518/">boop20160518/</a> </td><td align="right">19-May-2016 17:57 </td><td align="right"> - </td><td> </td></tr> 14 <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="jazz20160518/">jazz20160518/</a> </td><td align="right">19-May-2016 19:04 </td><td align="right"> - </td><td> </td></tr> 15 <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="punk20160518/">punk20160518/</a> </td><td align="right">19-May-2016 17:47 </td><td align="right"> - </td><td> </td></tr> 16 <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="space20160518/">space20160518/</a> </td><td align="right">19-May-2016 19:03 </td><td align="right"> - </td><td> </td></tr> 17 <tr><th colspan="5"><hr></th></tr> 18 </table> 19 </body></html> 20 `));
1$ node example.js 2{ dir: '/foo/bar', 3 files: 4 [ { type: 'directory', 5 name: 'beep', 6 path: '/foo/bar/beep/', 7 lastModified: 2016-05-25T09:53:00.000Z, 8 size: null, 9 description: ' ' }, 10 { type: 'directory', 11 name: 'boop20160518', 12 path: '/foo/bar/boop20160518/', 13 lastModified: 2016-05-19T15:57:00.000Z, 14 size: null, 15 description: ' ' }, 16 { type: 'directory', 17 name: 'jazz20160518', 18 path: '/foo/bar/jazz20160518/', 19 lastModified: 2016-05-19T17:04:00.000Z, 20 size: null, 21 description: ' ' }, 22 { type: 'directory', 23 name: 'punk20160518', 24 path: '/foo/bar/punk20160518/', 25 lastModified: 2016-05-19T15:47:00.000Z, 26 size: null, 27 description: ' ' }, 28 { type: 'directory', 29 name: 'space20160518', 30 path: '/foo/bar/space20160518/', 31 lastModified: 2016-05-19T17:03:00.000Z, 32 size: null, 33 description: ' ' } ] }
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
5 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 1/8 approved changesets -- score normalized to 1
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
detected GitHub workflow tokens with excessive permissions
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
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