index-it-js

1.0.0 • Public • Published

index-it.js

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-it [comma-separated file extensions] [files per page]

Example

npx index-it 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-it-js

Weekly Downloads

3

Version

1.0.0

License

none

Unpacked Size

2.81 kB

Total Files

4

Last publish

Collaborators

  • jimkang