npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

analyzeseo

v1.0.0

Published

tool for analyze seo

Downloads

7

Readme

analyzeseo

analyzeseo is a library for analyzing website SEO (Search Engine Optimization), helping identify common issues and suggesting improvements to boost your site's search engine ranking.

Installation

To install the library, you can use npm:

npm install analyzeseo

Usage

You can use the library to analyze a website by calling the analyzeseo function and passing the URL of the site to be analyzed.

const analyzeseo = require('analyzeseo');

analyzeseo('https://fasthost.cheap/') // Example
  .then(report => console.log(report))
  .catch(error => console.error(error));

Example

When you call the analyzeseo function and pass a url you will get a report like this:

{
  "title": "title is good",
  "description": "meta description is missing",
  "headings": "multiple H1 tags found there should be only one h1 tag per page",
  "images": "all images have alt attributes"
}

Report Explanation

title: Checks for the presence and quality of the page title.

"title is good" means the title is present and looks good. "title is missing" means the title is missing. "title is too long/short" indicates the title is too long or too short. description: Checks for the presence of the meta description.

"meta description is good" means the description is present and good. "meta description is missing" means the description is missing. headings: Checks the usage of heading tags.

"headings are good" means the heading usage is good. "multiple H1 tags found there should be only one h1 tag per page" means there are multiple H1 tags, and there should be only one H1 tag per page. images: Checks for the presence of alt attributes in images.

"all images have alt attributes" means all images have alt attributes. "some images are missing alt attributes" means some images are missing alt attributes.