method IDownloader.download
IDownloader.download(source: string): Promise<string[]>

Download filter rules from a source

Parameters

source: string
  • The source URL or path

Return Type

Promise<string[]>

Promise resolving to array of rules

Usage

import { type IDownloader } from ".";