koa-robotstxt
Koa middleware for serving the robots.txt file..
Installation
$ npm install koa-robotstxt
Example
var koa = ;var robotstxt = ;var app = ; app;
API
robotstxt(path, [options])
Returns a middleware serving the robots.txt found on the given path
.
options
maxAge
cache-control max-age directive in ms, defaulting to 1 day.
License
MIT