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

# ScortonJS

> OSS CLI and SDKs for scanning and CyberScore — js.scorton.dev.

# ScortonJS

Product site: [js.scorton.dev](https://js.scorton.dev) (also advertised as `js.scorton.tech`).

ScortonJS is the open-source developer interface for scan / score / audit / compliance. Point it at the **same** `.dev` API the portal uses.

## Install

```bash theme={null}
pip install scortonjs
```

```bash theme={null}
scorton score example.com
scorton audit example.com
scorton scan ssl_scan https://example.com
```

npm CLI package referenced by the portal: [scortonjs-cli](https://www.npmjs.com/package/scortonjs-cli).

## TypeScript

```ts theme={null}
import { ScortonClient } from '@scorton/cli'

const scorton = new ScortonClient({
  apiKey: process.env.SCORTON_API_KEY,
})

const result = await scorton.scan('example.com')
```

## Python

```python theme={null}
from scorton import ScortonClient

client = ScortonClient(
    api_base="https://api.scorton.dev",
    token="your-cyberscor-jwt-or-service-key",
)

result = client.call_api("dns_enum", "example.com")
```

> [!WARNING]
>
> Older snippets on js.scorton.dev may show `api.scorton.tech`. For this Dev Portal stack, use **`https://api.scorton.dev`**.

## How it fits the portal

| Goal | Prefer |
| - | - |
| Interactive try / keys / MCP gateway | Dev Portal |
| Local CLI / CI / scripts | ScortonJS |
| Agent tools in Cursor | MCP (`mcp.scorton.dev` or portal gateway) |

## Links

* GitHub: [scorton/scortonjs](https://github.com/scorton/scortonjs)
* Marketing: [js.scorton.dev](https://js.scorton.dev)
* Portal Integrations: [https://developers.scorton.dev/integrations](https://developers.scorton.dev/integrations)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.