
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
ocr-js-json
Advanced tools
As of 7/23/2022, this package has been discontinued. please download v2 at npmjs.com/package/ocr-js-json-v2.
As of 7/23/2022, this package has been discontinued. please download v2 at npmjs.com/package/ocr-js-json-v2.
ocr-js-json is a package that allows for ocr results. The current version fixes a bug.
Since the package uses tesseract.js to scan the data, when using its important to import tesseract.js too.
With:
var { createWorker } = require("tesseract.js");
Docs
Use the package by doing this:
var ocrJsJson = require("ocr-js-json"); var { createWorker } = require("tesseract.js");
var shl = 'https://tesseract.projectnaptha.com/img/eng_bw.png';
api(shl);
It will console.log the text.
Thanks for using my package!
PS: The code is hosted on https://github.com/NG-Corp/ocr-js-json
UPDATE: Thanks guys for the downloads. The package is in its beta stage, which has lots of errors. I initially wanted to make it for intergration in my app project, and in the process uploaded it here. You can help me develop it by reporting issues @ https://github.com/NG-Corp/ocr-js-json.
FAQs
As of 7/23/2022, this package has been discontinued. please download v2 at npmjs.com/package/ocr-js-json-v2.
The npm package ocr-js-json receives a total of 0 weekly downloads. As such, ocr-js-json popularity was classified as not popular.
We found that ocr-js-json demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.