
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
The professional JavaScript SDK for Mon language OCR, powered by ONNX Runtime. Designed for high-performance server-side and desktop Node.js applications.
npm install monocr
read_image(imagePath, [options])Recognizes text from a single image.
imagePath: String path to the image file.options: Optional overrides for model/charset paths.Promise<string>read_images(imagePaths, [options])Recognizes text from multiple images.
Promise<string[]>read_pdf(pdfPath, [options])Converts and recognizes text from all pages of a PDF.
Promise<string[]> (Array of strings per page)read_image_with_accuracy(imagePath, groundTruth, [options])Performs OCR and calculates Levenshtein accuracy.
Promise<{text: string, accuracy: number}>const { read_image } = require("monocr");
async function main() {
const text = await read_image("scanned_text.png");
console.log(text);
}
main();
# Global installation for CLI usage
npm install -g monocr
# Process an image
monocr image input.jpg
# Process a PDF
monocr pdf document.pdf
Maintained by MonDevHub.
MIT
FAQs
Cross-platform Mon (mnw) language OCR using ONNX Runtime. Supports Node.js.
We found that monocr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.