
Security News
upm Launches as a Fast, Tiny Package Manager Written in TypeScript
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.
@stll/docx-core
Advanced tools
Typed OOXML/DOCX model, validation, serialization, legal-source compilation, and browser-native package projection.
A typed OOXML/DOCX document model with parsing, validation, and serialization.
The package exposes a structured document model (paragraphs, runs, tables,
styles, section properties) together with the tools to produce and check DOCX
packages, plus a legal-source compiler that turns a legal draft (GFM markdown
plus @ directives) into that model or a finished DOCX file, and a plain
markdown reader (compileMarkdownToContent) that shares its parser.
import { compileLegalSourceToDocx, validateDocxPackage } from "@stll/docx-core";
const { docx } = await compileLegalSourceToDocx(source);
const result = await validateDocxPackage(docx);
The document model types are also available from a dedicated subpath:
import type { Document, Paragraph, Run } from "@stll/docx-core/model";
bun add @stll/docx-core
. — the document model types, the legal-source compiler
(parseLegalSource, compileLegalSourceToDocument,
compileLegalSourceToDocx, validateLegalDraft), the markdown reader
(compileMarkdownToContent, sanitizeExternalUrl), DOCX serialization
(serializeDocumentToDocx), and validation (validateDocxPackage,
validateDocumentModel, assertValidDocumentModel)../model — the document model types only../ops — document operations over the model: applyDocumentOp and
applyDocumentOps apply text and formatting edits addressed by paragraph
id and offset, and return the new document, the blocks it touched and its
exact inverse (operations addressed the same way), or a typed refusal.
normalizeForOps and validateOpsDocument establish and check the
contract a document meets before operations apply to it; toOpEnvelope
wraps an operation with its schema version for journaling.Apache-2.0
FAQs
Typed OOXML/DOCX model, validation, serialization, legal-source compilation, and browser-native package projection.
The npm package @stll/docx-core receives a total of 11,909 weekly downloads. As such, @stll/docx-core popularity was classified as popular.
We found that @stll/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.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.