Doc Detective Core

March 12, 2026 ยท View on GitHub

Important

This repository is archived. All code and functionality has been merged into doc-detective/doc-detective.

Doc Detective Core

Current version NPM Shield Test status Discord Shield Docs Shield

Low-code documentation testing embedded in your project via NPM.

For pre-built implementations, see Doc Detective.

Install

npm i doc-detective-core

Init

const { runTests, runCoverage } = require("doc-detective-core");

Functions

runTests({config})

Run test specifications. Returns a test report object. Takes config as input. Parses paths in the config.input for test specifications to perform.

Contributions

Looking to help out? See our contributions guide for more info. If you can't contribute code, you can still help by reporting issues, suggesting new features, improving the documentation, or sponsoring the project.