Skip to content

Score HTML content with common SEO checks

License

Notifications You must be signed in to change notification settings

prerender/seo-scorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Laszlo Luczo
Nov 30, 2023
cdd46c6 · Nov 30, 2023

History

25 Commits
May 3, 2022
Mar 29, 2022
May 4, 2022
Nov 30, 2023
Mar 29, 2022
Mar 29, 2022
Mar 29, 2022
Apr 1, 2022
Mar 29, 2022
Nov 30, 2023
Apr 1, 2022
Mar 29, 2022
Mar 30, 2022
May 3, 2022

Repository files navigation

Prerender - HTML SEO Scoring

Work In Progress - Don't use it in production just yet!


Scoring HTML content for SEO best practices.

Getting Started

Install

yarn add prerender-seo-scorer # or npm i prerender-seo-scorer

Use:

import { scorer } from 'prerender-seo-scorer';

const result = scorer(`<html>MyPage...</html>`);

console.log(result.score);
console.log(result.recommendations);

Code Generator

This repository uses the Hygen code generator templates, you can easily create new checkers by running the following command

yarn gen:checker --name="my checker"