{"library":"express-robots-txt","type":"library","category":null,"description":"express-robots-txt is an Express.js middleware designed to either serve a static `robots.txt` file or dynamically generate one based on a JavaScript object or array configuration. The package is currently at version 1.0.0, with its last known publication approximately four years ago, indicating a stable but less actively developed state, likely in maintenance mode. It provides a straightforward API to define standard `robots.txt` directives such as `User-agent`, `Disallow`, `Allow`, `Crawl-delay`, `Sitemap` (supporting multiple entries), and `Host`. This flexibility allows developers to easily control how web crawlers interact with their Express applications, preventing unwanted indexing or specifying crawl behaviors, without needing to manage a static file manually for complex scenarios.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","express","robots","robots.txt"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-robots-txt","imports":["import robots from 'express-robots-txt'","const robots = require('express-robots-txt')"]},{"cmd":"yarn add express-robots-txt","imports":[]},{"cmd":"pnpm add express-robots-txt","imports":[]}],"homepage":null,"github":"https://github.com/modosc/express-robots-txt","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-robots-txt","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-robots-txt/compatibility"}}