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 🙏

© 2024 – Pkg Stats / Ryan Hefner

seo-master

v1.3.0

Published

SEO Master is a powerful all-in-one tool developed to boost your website's visibility and rankings. With features like automatic sitemap generation, customizable robots.txt creation, SEO-optimized metadata, Image assets generation and seamless integration

Downloads

270

Readme

SEO Master - Search Engine Optimization Tools

SEO Master is a powerful all-in-one tool developed to boost your website's visibility and rankings. With features like automatic sitemap generation, customizable robots.txt creation, SEO-optimized metadata, Image assets generation and seamless integration with major search engines, SEO Master simplifies the process of optimizing your site for search engines. Whether you're monitoring backlinks, improving page speed, or fine-tuning on-page SEO, SEO Master offers everything you need to achieve top search engine performance.

✨ Features

  • ⌨️ Framework-Agnostic Integration: Easily integrates into any framework with simple commands.
  • 🌈 Automatic Sitemap Generation: Creates sitemaps with domain-specific crawling.
  • 🛡 Customizable Robots.txt Creation: Generate a fully customizable robots.txt file.
  • 🌍 Image Asset Creation: Automatically create all the necessary image assets for your website.
  • 📦 SEO-Optimized Metadata Generation: Generate metadata to boost your website’s SEO.
  • ⚙️ Search Engine Integration: Works with all major search engines for seamless optimization.
  • 🎨 SEO Resource Validation: Validate key SEO elements like sitemaps, robots.txt, metadata, and other assets.

🕹 Sitemaps Creation and Validation

Simple sitemap creation:

npx seo-master create sitemap -w https://www.nayanui.com

Advanced sitemap creation:

npx seo-master create sitemap --website https://www.nayanui.com --depth 10 --changefreq daily --output ./sitemap.xml

You can also use the shorter version of this command.

npx seo-master create sitemap -w https://www.nayanui.com -d 10 -f daily -o ./sitemap.xml

You can also integrate seo-master with your localhost to generate sitemaps without any deployments.

npx seo-master create sitemap -w http://localhost:3000 -r https://www.nayanui.com -d 10 -f daily -o ./sitemap.xml

this case it crawl your localhost URL and replace it with replacement URL.

| Name | Parameter | Default | Usage | | ------------------- | ----------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Website URL | --website / -w | '' | Pass website base URL to start crawling. | | Replacement Website | --replacer / -r | '' | Pass replacement URL to replace crawled url, this will be mostly useful to crawl localhost and replace it with original URL. | | Crawling depth | --depth / -d | 10 | Pass depth to let the generator know how depth it need to crawl. | | Change frequency | --changefreq / -f | daily | Pass change frequency to let the generator know how frequently your content change, possible options are always, hourly, daily, weekly, monthly, yearly, never. | | Output | --output / -o | ./sitemap.xml | Pass output to let the generator know where to keep generated sitemap. |

Sitemap validation:

npx seo-master validate sitemap --input ./sitemap.xml

You can also use the shorter version of this command.

npx seo-master validate sitemap -i ./sitemap.xml

You can also validate sitemap.xml of your live website by passing URL.

npx seo-master validate sitemap --input https://www.nayanui.com/sitemap.xml --isremote true

| Name | Parameter | Default | Usage | | ------------- | ---------------- | ------------- | --------------------------------------------------------------------------------- | | Input sitemap | --input / -i | ./sitemap.xml | Pass input sitemap to let the generator know where to find and validate sitemap. | | Is Remote | --isremote / -ir | false | Pass isremote true / false to the tool to know if its a local file or remote URL. |

🕹 Robots.txt Creation and Validation

Robots.txt creation:

npx seo-master create robots --allowed /home,/about --disallowed /admin,/security --sitemap https://www.nayanui.com/sitemap.xml --output ./robots.txt

You can also use the shorter version of this command.

npx seo-master create robots -a /home,/about -d /admin,/security -s https://www.nayanui.com/sitemap.xml -o ./robots.txt

| Name | Parameter | Default | Usage | | ---------------- | ----------------- | ------------ | ------------------------------------------------------------------------- | | Allowed paths | --allowed / -a | '' | Pass allowed links to allow search engines to crawling. | | Disallowed paths | --disallowed / -d | '' | Pass dis allowed links to restrict search engines from crawling. | | Sitemap | --sitemap / -s | '' | Pass site map URL of your website. | | Output | --output / -o | ./robots.txt | Pass output to let the generator know where to keep generated robots.txt. |

Robots.txt validation:

npx seo-master validate robots --input ./robots.txt

You can also use the shorter version of this command.

npx seo-master validate robots -i ./robots.txt

You can also validate robots.txt of your live website by passing URL.

npx seo-master validate robots --input https://www.nayanui.com/robots.txt --isremote true

| Name | Parameter | Default | Usage | | ---------------- | ---------------- | ------------ | --------------------------------------------------------------------------------- | | Input Robots.txt | --input / -i | ./robots.xml | Pass output to let the generator know where to find and validate sitemap. | | Is Remote | --isremote / -ir | false | Pass isremote true / false to the tool to know if its a local file or remote URL. |

🕹 Meta tags Creation and Validation

Meta tags creation:

This will create an index.html file with all the required meta tags required for optimised SEO. once its generated you can copy generated content and change content as per your needs.

npx seo-master create metatags

Meta tags validation:

npx seo-master validate metatags --website https://www.nayanui.com

You can also use the shorter version of this command.

npx seo-master validate metatags -w https://www.nayanui.com

| Name | Parameter | Default | Usage | | ------- | -------------- | ------- | --------------------------------------------------------- | | Website | --website / -w | '' | Pass website link to validate meta tags required for SEO. |

🕹 Image Assets & Favicon creation

This will create all the required images and favicons for your website so you no need to remember all the sizes required and edit them manually.

We recommend input image is at least of 512X512 resolution for better results.

npx seo-master create images --image ./logo.png

You can also use the shorter version of this command.

npx seo-master create images -i ./logo.png

| Name | Parameter | Default | Usage | | ---------------- | ------------- | -------- | ------------------------------------------------------- | | Input image | --image / -i | '' | Pass input image to generate all required assets. | | Output directory | --output / -o | ./images | Pass output directory to keep all the generated images. |

🖥 Future plans

  • [x] Create SEO Master CLI tool to generate and validate sitemaps efficiently.
  • [x] Create SEO Master CLI tool to generate and validate robots.txt efficiently.
  • [x] Create SEO Master CLI tool to generate and validate meta tags for your website.
  • [x] Create SEO Master CLI tool to generate image assets for your website.
  • [ ] Support multiple sitemaps if website is bigger than certain limit.
  • [ ] Create a web application to automatically generate and submit sitemaps, robots.txt and image assets to search engines on a schedule.

🤝 Contributing

We welcome all contributions. You can submit any ideas as Pull Requests or as GitHub Issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)