licensehead mark

@theworker02/licensehead · JSR · 1.1.0

licensehead

SPDX header scanning and repair for JavaScript and TypeScript source trees.

1.1.0JSRMITNode.js ≥ 18

Overview

Make source-level license provenance a repeatable CI check instead of a manual audit.

Structured API

Canonical package: @theworker02/licensehead

import { scan, hasSpdx } from "@theworker02/licensehead";
console.log(scan("./src"));
console.log(hasSpdx("// SPDX-License-Identifier: MIT"));