@dhruvil76001/document-formatter
v0.1.0
Published
Utilities and CLI checks for the Document Formatter DOCX-to-LaTeX/PDF tool.
Downloads
55
Maintainers
Readme
document-formatter
Small npm companion package for the Document Formatter tool.
The main Formatter app lives in a local repo and runs a Django/Celery backend, a React/Vite frontend, and a Python formatting engine. This package gives Node/npm users a lightweight CLI and typed helpers for checking a Formatter checkout and printing the standard local commands.
Install
npm install @dhruvil76001/document-formatterFor one-off checks:
npx document-formatter doctor D:\formatterCLI
document-formatter info
document-formatter commands D:\formatter
document-formatter doctor D:\formatterAPI
import {
checkFormatterHome,
getFormatterCommands,
getFormatterRequirements
} from "@dhruvil76001/document-formatter";
const check = checkFormatterHome("D:\\formatter");
console.log(check.ok);
console.log(getFormatterCommands("D:\\formatter"));
console.log(getFormatterRequirements());What This Package Does Not Include
This npm package does not bundle the full Python/Django/React Formatter app, uploaded files, databases, logs, environment files, or sample documents. It is intentionally small and uses the published package files whitelist to avoid shipping local secrets or project data.
