
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@usejunior/docx-core
Advanced tools
OOXML (.docx) core library: primitives, document generation, and track changes
OOXML primitives and DOCX generation in TypeScript.
npm install @usejunior/docx-core
import { writeFile } from 'node:fs/promises';
import { generateDocx } from '@usejunior/docx-core';
const document = await generateDocx({
sections: [{
blocks: [{
kind: 'paragraph',
runs: [{ kind: 'text', text: 'Hello' }],
}],
}],
});
await writeFile('hello.docx', document);
DocumentSpec supports sections, headers and footers, fields, styles, tables, numbering, and comments. The supported runtime uses jszip and @xmldom/xmldom; it does not require Word, LibreOffice, Python, or .NET.
For two-document comparison, use @usejunior/docx-compare. For agent-driven editing, use @usejunior/safe-docx.
See the repository architecture, support contract, and package source and examples.
FAQs
OOXML (.docx) core library: primitives, document generation, and track changes
The npm package @usejunior/docx-core receives a total of 1,687 weekly downloads. As such, @usejunior/docx-core popularity was classified as popular.
We found that @usejunior/docx-core 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
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.