CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (changelog, source)
Search

Module Utils

Utility predicates and classes that doesn’t depend on any signature.

Import path

import codeql.regex.HostnameRegexp

Predicates

getACommonTld

Gets a pattern that matches common top-level domain names in lower case.