index-page

1.0.0 • Public • Published

index-page

Rough script that makes index pages that have links to the files in a directory, like the directory listing provided by nginx or Apache, so you can have that when using S3-like object storage.

Usage

npx index-page [comma-separated file extensions] [files per page]

Example

npx index-page pictures/2024 png,jpg,jpeg 20

This should put an index.html (and maybe an index-1.html and a index-2.html, etc.) in pictures/2024.

Readme

Keywords

none

Package Sidebar

Install

npm i index-page

Weekly Downloads

3

Version

1.0.0

License

none

Unpacked Size

2.81 kB

Total Files

4

Last publish

Collaborators

  • jimkang