• Verified
  • Free plan

Forge42 SEO Tools

Listed under GitHub repos

Forge42 SEO Tools is an open source npm package with small modules that generate sitemaps, robots.txt files, canonical links, structured data and metadata. It is free under an MIT license.

Best for

  • Developers

What Forge42 SEO Tools does

Forge42 SEO Tools is an MIT licensed TypeScript package published on npm as @forge42/seo-tools. It gathers small utilities that handle sitemap.xml files, sitemap indexes, robots.txt, canonical and alternate links, structured data and metadata. The code is split into separate submodules instead of one barrel export, so a project imports only the generator it needs and the client bundle stays small, which the README frames as part of doing SEO well.

Each submodule exposes a function that returns the markup or file content for its target. generateCanonicalLinks, for example, takes a urlTransformer callback that receives the url, domain, alternative and canonical URL and returns the final link. The README also covers generating entries for dynamic routes and combining a sitemap index with dynamic sitemaps and a robots.txt file in one pass.

Key features

Modular submodule imports
No barrel export; import only the path you need, such as @forge42/seo-tools/canonical, to keep the bundle small.
Canonical and alternate links
generateCanonicalLinks returns the canonical URL plus the current alternative through a urlTransformer callback you define.
robots.txt generation
Produces a robots.txt file that instructs search engines which paths they may crawl.
sitemap.xml generation
Builds a sitemap.xml file listing the pages a site wants search engines to index.
Sitemap index files
Generates a sitemap index that points search engines to the set of individual sitemaps for a site.
Structured data helpers
Utilities for adding structured data so search engines can read page content in a defined format.
Metadata helpers
Utilities for emitting meta data that gives search engines information about a page.
Extended sitemap utility
A sitemap utility described in the README as a superset of the base sitemap utility.
Dynamic route entries
Generates different sitemap entries per route, for pages whose URLs are produced at runtime.
Combined index and robots
Covers producing a sitemap index, dynamic sitemaps and a robots.txt file together in one setup.

How it works

  1. Install the package with npm or another package manager: npm install @forge42/seo-tools.
  2. Import the specific submodule path you need, for example @forge42/seo-tools/canonical.
  3. Call the generator with your domain, URLs and alternatives so it can build the output.
  4. Pass a urlTransformer callback to control how canonical and alternate links are composed.
  5. Write the returned sitemap, robots.txt or metadata output into your route or build step.

Plans and pricing

Distributed free under the MIT licence, with a sponsor link in the README and no paid tiers printed.

Integrations and platforms

Available as

  • Web

Repository facts

  • Repositorycode-forge-io/seo-tools
  • LanguageTypeScript
  • Stars96
  • Forks9
  • LicenceMIT
  • Created2024-07-22
  • Last commit2025-11-26
  • Open issues11

Services and details

  • Does SEO work itself

    Yes
  • Free plan or free tools

    Yes

No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, API or MCP server, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.

Compare with other SEO tools:

About the company

Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.