Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 628 Bytes

readme.md

File metadata and controls

34 lines (21 loc) · 628 Bytes

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"