
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.
ofd-view-yc
Advanced tools
目前方案采用:svg及canvas渲染实现,百分百纯前端渲染
效果:

小程序OFD验签示例

微信

npm i ofd.js
parseOfdDocument({
ofd: ofdFile,
success() {
},
fail(error){
console.log(error)
}
})
此方法需要在parseOfdDocument success回调后使用
| 参数 | 说明 | 是否必填 |
|---|---|---|
| documentIndex | ofd文档中document的索引,默认从0开始 | 是 |
| width | 预期渲染的宽度,像素值 ,如800 | 否 |
renderOfd(documentIndex, width).then(divs=>{
// do something
})
此方法需要在parseOfdDocument success回调后使用
| 参数 | 说明 | 是否必填 |
|---|---|---|
| documentIndex | ofd文档中document的索引,默认从0开始 | 是 |
| pageIndex | ofd文档中页码,默认从0开始 | 是 |
| width | 预期渲染的宽度,像素值 ,如800 | 否 |
renderOfdByIndex(documentIndex, pageIndex, width).then(div => {
// do something
}})
发挥人人为我,我为人人的优良传统,多做pr~~~
npm install
npm run serve
npm run build
npm run lint
项目获得 Star曲线
FAQs
ofd渲染
The npm package ofd-view-yc receives a total of 1 weekly downloads. As such, ofd-view-yc popularity was classified as not popular.
We found that ofd-view-yc 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.