
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
area-select-mark
Advanced tools
npm install area-select-mark --save
// html
// <div id="container1"></div>
const = require('area-select-mark');
const el = document.getElementById('container1');
const selectMark = new SelectMark(
el, // 事先创建一个容器
300, // 图片宽度限制, 系统会自动等比缩放图片,标记位置也同样会转换
'./assets/demo1.jpg', // 要标记的图片地址
[ // 初始标记
[100, 100, 200, 150] // x, y, 宽, 高 (此标记位置坐标以及宽高是针对原图尺寸的)
] // 可以是多项
);
const marks = selectMark.getMarks(); // 得到当前的标记(系统已做了转换,得到的坐标以及宽高均是针对原图尺寸的)
FAQs
[Demo](https://open-node.github.io/area-select-mark/)
The npm package area-select-mark receives a total of 0 weekly downloads. As such, area-select-mark popularity was classified as not popular.
We found that area-select-mark 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.