
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@office-open/core
Advanced tools
Shared OOXML infrastructure — XML components, validators, converters, charts, and SmartArt
Shared OOXML infrastructure — descriptors, DrawingML, charts, SmartArt, OPC, validators, and converters.
CustomDescriptor<T> for bidirectional XML stringify/parse# pnpm
pnpm add @office-open/core
# npm
npm install @office-open/core
# yarn
yarn add @office-open/core
# bun
bun add @office-open/core
import {
hexColorValue,
decimalNumber,
convertMillimetersToTwip,
convertPixelsToEmu,
convertInchesToEmu,
convertPointsToEmu,
uniqueNumericIdCreator,
} from "@office-open/core";
// Value validators
hexColorValue("#FF0000"); // → "FF0000"
hexColorValue("auto"); // → "auto"
decimalNumber(10.7); // → 10
// Unit converters
convertMillimetersToTwip(25.4); // → 1440 (1 inch)
convertPixelsToEmu(100); // → 952500
convertInchesToEmu(1); // → 914400
convertPointsToEmu(12); // → 152400
// ID generators
const gen = uniqueNumericIdCreator();
gen(); // → 1, 2, 3, ...
| Type | XSD Reference |
|---|---|
ThemeColor | ST_ThemeColor (17 values) |
ThemeFont | ST_Theme (8 values) |
UniversalMeasure | ST_UniversalMeasure (mm, cm, in, pt, pc, pi) |
Percentage | ST_Percentage |
hexColorValue | ST_HexColor (auto + 3-byte hexBinary) |
decimalNumber | ST_DecimalNumber |
| Path | Contents |
|---|---|
@office-open/core | Descriptors, validators, converters, ID generators, OPC, password hashing |
@office-open/core/descriptor | Descriptor runtime (CustomDescriptor, stringify, parse, contexts) |
@office-open/core/util | Validators, converters, ID generators, mappings, crypto, base64 |
@office-open/core/chart | Chart types, series data, chart collection, title |
@office-open/core/smartart | SmartArt data model, tree-to-model, definitions |
@office-open/core/drawingml | DrawingML fills, outlines, effects, geometry, text body |
@office-open/core/patch | Template patching utilities (replacer, traverser, token replacer) |
@office-open/core/theme | Theme definitions and color schemes |
FAQs
Shared OOXML infrastructure — XML components, validators, converters, charts, and SmartArt
The npm package @office-open/core receives a total of 799 weekly downloads. As such, @office-open/core popularity was classified as not popular.
We found that @office-open/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.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.