directory-index-html
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -56,9 +56,9 @@ var constants = require('cons' + 'tants') // be browserify friendly | ||
if (isDir && name[name.length - 1] !== '/') name += '/' | ||
var p1 = PADDING_NAME.slice(name.length) | ||
var p2 = PADDING_DATE.slice(0, -size.length) | ||
if (isDir && name[name.length - 1] !== '/') name += '/' | ||
return `<a href="${name}">${name}</a>${p1 + time + p2 + size}\n` | ||
} | ||
} |
{ | ||
"name": "directory-index-html", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Make an plain html page containing a directory listing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
238305