UNPKG

robot-directives

Version:

Parse robot directives within HTML meta and/or HTTP headers.

16 lines (9 loc) 154 B
"use strict"; /* Remove a prefixed "no" from a string. */ function removeNo(directive) { return directive.substr(2); } module.exports = removeNo;