Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@techstark/opencv-js
Advanced tools
OpenCV JavaScript version (NPM package) for node.js or browser. Get started guide OpenCV.js Tutorials.
The file opencv.js
was downloaded from https://docs.opencv.org/4.10.0/opencv.js
TypeScript is supported (thanks to mirada
).
npm install @techstark/opencv-js
yarn add @techstark/opencv-js
import cv from "@techstark/opencv-js"
"esModuleInterop": true
in tsconfig.json
import * as cv from "@techstark/opencv-js"
If you use this package for browsers, you need to set some polyfills. In the file "webpack.config.js", set
module.exports = {
resolve: {
modules: [...],
fallback: {
fs: false,
path: false,
crypto: false
}
}
};
The TypeScript type declarations may not be up to date with the latest OpenCV.js. Refer to cvKeys.json to check the available methods and properties at runtime.
FAQs
OpenCV JavaScript version for node.js or browser
The npm package @techstark/opencv-js receives a total of 10,376 weekly downloads. As such, @techstark/opencv-js popularity was classified as popular.
We found that @techstark/opencv-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.