image-index

0.1.0 • Public • Published

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
  1. cd to the example dir
  2. run imgdx,this toy will create 000.html for you , and open it with your default browser (win32 only)

or use json file

like

{
    "title": "XXX",
    "srcs":[
     "xxx-src"
    ]
}

use imgdx -j

License

MIT

Package Sidebar

Install

npm i image-index

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

7.41 kB

Total Files

14

Last publish

Collaborators

  • magicdawn