GitHub - narrowizard/nhref: add hash to html script tag src attribute, in order to avoid brower cache. · GitHub
Skip to content

narrowizard/nhref

Folders and files

Repository files navigation

nhref

add hash to html script tag src attribute, in order to avoid brower cache.

start

npm install -g nhref

usage

nhref [options] [directories|files]

options

  • -p, --project (default current directory)
    specify the root directory of the project. when resolve src like /d1/a.js, nhref will find file from the root directory.

  • -d, --dest

  • -t, --type (resolve type)
    browser or regexp

issue

notice

bin/nhref: change CRLF to LF before publish on windows

About

add hash to html script tag src attribute, in order to avoid brower cache.

Resources

License

Stars

Watchers

Forks

Packages

Contributors