
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
office-print
Advanced tools
打印精灵,一款用于在网页中打印Office文件的软件,可以打印包括Word、PowerP oint、Excel、PDF、图片等文件。
详细信息请访问https://www.innben.com/print了解
npm:
npm install office-print --save
yarn:
yarn add office-print --save
const OfficePrint = require('office-print');
let fileUrl = 'your network excel url';
fetch(fileUrl).then(response => response.arrayBuffer()).then(arrayBuffer => {
let file = new File([arrayBuffer], filename);
const officePrint = new OfficePrint();
officePrint.print(file)
});
// script
<input type="file" id="input">
const OfficePrint = require('office-print');
const inputElement = document.getElementById("input");
inputElement.addEventListener("change", handleFiles, false);
function handleFiles() {
const fileList = this.files; /* 现在你可以处理文件列表 */
fileList.forEach(file => {
const officePrint = new OfficePrint();
officePrint.print(file)
});
}
// script
const OfficePrint = require('office-print');
let fileUrl = 'your local file system excel url';
const officePrint = new OfficePrint();
officePrint.printFile(fileUrl)
FAQs
一款用于在网页中打印Office文件的软件,可以打印包括Word、PowerPoint、Excel、PDF、图片等文件。
The npm package office-print receives a total of 0 weekly downloads. As such, office-print popularity was classified as not popular.
We found that office-print 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.