tag-analyzer
v1.0.5
Published
Tag analyzer for your website
Downloads
25
Maintainers
Readme
TagAnalyzer
TagAnalyzer is a JavaScript utility that analyzes HTML pages for specific tags and class names. It can also follow links and analyze linked pages for tag counts.
Features
- Analyze specific HTML tags (e.g.,
h1
,h2
, etc.) - Count elements with specific class names
- Display results in a customizable pop-up box
Installation
You can install TagAnalyzer using NPM:
npm install tag-analyzer
Usage Example
import TagAnalyzer from './src/TagAnalyzer.js'
const tag = new TagAnalyzer(
{
tags:['h1','h2','.yourclass','#yourid'],
useDefault:false,
});