Skip to main content

Module sourcemap

Module sourcemap 

Source
Expand description

Source map file processing for license detection.

Source map files (.js.map, .css.map) are JSON files containing embedded source code in a sourcesContent array. This module extracts that content for license detection.

Functionsยง

extract_sourcemap_content
Extract source content from a source map JSON file.
is_sourcemap
Check if a file is a source map file based on extension.