image-index = imgdx
Simple toy to create 000.html file for a directory contains images Powered BY razor-tmpl
Install
$ npm i image-index -g
Example
read dir images
example/
1.jpg
2.jpg
3.jpg
- cd to the example dir
- run
imgdx
,this toy will create 000.html for you , and open it with your default browser (win32 only)
or use json file
like
use imgdx -j
License
MIT