
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
node-convert
Advanced tools
NodeJS file converter using LibreOffice or OpenOffice software under the hood.
npm install --save node-office
// or
yarn add node-office
await office.convert('./test.doc', './test.pdf');
function callback() {
console.log('Done!');
}
office.convert('./test.doc', './test.pdf', callback);
const buffer = await office.convert('./test.doc');
Thumbnails can be generated by converting a file to an image format like JPEG or PNG.
await office.convert('./test.doc', './test.jpg');
await office.convert('./marketing.pdf', './marketing.jpg');
import office from 'node-office';
await office.convert('./test.doc', './test.pdf');
import { convert, listen } from 'node-office';
await convert('./test.doc', './test.pdf');
const office = require('node-office');
function cb() {
console.log('Conversion complete');
}
office.convert('./test.doc', './test.pdf', cb);
const convert = require('node-office').convert;
function cb() {
console.log('Conversion complete');
}
convert('./test.doc', './test.pdf', cb);
FAQs
NodeJS office converter using LibreOffice or OpenOffice.
We found that node-convert 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
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.