CLI to add some attributes on html <a>
tags.
npm i add-link-rel-cli
Usage: add-link-rel [options] <filename>
Arguments:
filename html filename to correct
Options:
-a, --autofix
--noreferrer
--noopener
--only-target-blank
-h, --help display help for command
sample.html
<a target="_blank"><li>Sample Link</li></a>
$ add-link-rel --noreferrer --noopener test.html
<a target="_blank" rel="noreferrer noopenner"><li>Sample Link</li></a>