Skip to main content

A library for checking and updating copyright/license headers in a project.

This package works with Deno
This package works with Deno
JSR Score
82%
Published
7 months ago (1.2.2)
function checkCopyrightHeaders
checkCopyrightHeaders(options: Options): Promise<boolean>

Checks that all files in the root directory have a valid copyright/license header.

Parameters

options: Options

Return Type

true if all files have a valid copyright/license header, false otherwise.

Add Package

deno add jsr:@cknight/copyright-checker

Import symbol

import { checkCopyrightHeaders } from "@cknight/copyright-checker";

---- OR ----

Import directly with a jsr specifier

import { checkCopyrightHeaders } from "jsr:@cknight/copyright-checker";