> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanoss.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SCANOSS-JS

> Saving scan results using [SCANOSS-JS](https://github.com/scanoss/scanoss.js).

## Supported Formats

SCANOSS-JS supports the following output formats:

* **JSON** - Raw SCANOSS scan results with component, dependency and cryptography data
* **HTML** - Interactive visual report with component analysis, license information and dependency trees

## Generating Scan Results

### JSON Format

Generate raw SCANOSS results in JSON format:

```bash theme={null}
# Basic JSON output
scanoss-js scan -o results.json /path/to/folder
```

### HTML Report

Generate a comprehensive HTML report with visual analysis:

```bash theme={null}
# HTML report with dependencies (required)
scanoss-js scan --dependencies --format html -o report.html /path/to/folder
```
