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

Module Modules

Provides classes for working with JavaScript modules, both ECMAScript 2015-style modules, and the older CommonJS and AMD-style modules.

Import path

import semmle.javascript.Modules

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

Import

An import in a module, which may be an ECMAScript 2015-style import statement, a CommonJS-style require import, or an AMD dependency.

Module

A module, which may either be an ECMAScript 2015-style module, a CommonJS module, or an AMD module.