0.0.3 • Published 1 year ago
find-empty-href v0.0.3
find-empty-href
A node script to traverse a folder (and it's subfolders) for (x)html files and return a list of files that have an <a>
tag with an empty href
attribute.
Installation
$ npm i -g find-empty-href
Usage
$ cd my/folder/with/html/files
$ find-empty-href
Example Output
$ find-empty-href
**** Searching 1 file for Empty href Values in <a> Tags ****
Reading sample.xhtml...
**** Search Complete. Found 1 bad file ****
Empty HREFs found in sample.xhtml