Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.46 KB

File metadata and controls

51 lines (36 loc) · 1.46 KB

Node.js SEO Analyzer 🚀

A fast and modern Node.js CLI tool to analyze web pages for SEO best practices. Built with cheerio and axios.

Un tool CLI veloce e moderno in Node.js per analizzare le pagine web secondo le best practices SEO. Costruito con cheerio e axios.

Features / Caratteristiche

  • Title Tag Analysis: Validates presence and length. (Valida presenza e lunghezza.)
  • Meta Description: Checks character count. (Controlla il conteggio caratteri.)
  • H1 Header Check: Ensures semantic structure. (Assicura una struttura semantica.)
  • Image ALT Attributes: Identifies accessibility issues. (Identifica problemi di accessibilità.)
  • CLI Interface: Simple command line usage. (Semplice utilizzo da riga di comando.)

Installation / Installazione

  1. Clone the repository:

    git clone <repository-url>
    cd node-seo-tool
  2. Install dependencies:

    npm install

Usage / Utilizzo

Run the tool providing a URL:

node index.js https://example.com

or if you linked it globally:

node-seo-tool https://example.com

Dependencies / Dipendenze

  • Axios: HTTP client for fetching pages.
  • Cheerio: Fast HTML parser (jQuery-like).
  • Chalk: Terminal string styling.
  • Commander: CLI argument parsing.

Code Structure / Struttura del Codice

The code uses ES Modules and modern async/await patterns. Il codice utilizza ES Modules e moderni pattern async/await.