Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh_seo/src/deps.ts>filterFiles

The fastest way ⚡️ to create sitemap and robots.txt in your Deno Fresh project 🍋
Go to Latest
function filterFiles
import { filterFiles } from "https://deno.land/x/fresh_seo@1.0.0/src/deps.ts";

Filters out the files that were either not included in globs.include, or excluded from globs.exclude. Files should be passed in as relative paths. The first ./ part of the file or glob will be removed before testing

Parameters

files: string[]
globs: GlobData
optional
options: ConfigOptions = [UNSUPPORTED]