npm

Need private packages and team management tools?Check out npm Orgs. »

image-index

0.0.5 • 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

take a look at the project's example directory

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)

Why 000 as filename ? 000.html will be the first file in your file explorer

To be required

var imgdx = require('image-index')
imgdx(dir_path,html_file_name)
imgdx(srcs_as_Array,html_file_name)

arguments[0] : A dir_path as String or src urls as Array arguments[1] : the target html file path

  • imgdx(dir_path,html_file_name)
  • imgdx(srcs_as_Array,html_file_name)

License

MIT

install

npm i image-index

Downloadsweekly downloads

1

version

0.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability