
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
war3-model
Advanced tools
TypeScript-based mdl/mdx (Warcraft 3 model formats) converter/renderer
npm i war3-model --save
MDL parsing/generation
import { parseMDL, generateMDL } from 'war3-model';
let model = parseMDL('...');
let mdl = generateMDL(model);
console.log(mdl);
BLP => PNG node.js cli converter
import * as fs from 'fs';
import { PNG } from 'pngjs';
import { decodeBLP, getBLPImageData } from 'war3-model';
let blp = decode(new Uint8Array(fs.readFileSync(process.argv[2])).buffer);
let imageData = getImageData(blp, 0);
let png = new PNG({width: blp.width, height: blp.height, inputHasAlpha: true});
png.data = Buffer.from(imageData.data.buffer);
fs.writeFileSync('out.png', PNG.sync.write(png));
100% of both old classic Warcraft 3 and Reforged models can be parsed.
After conversion mdx binary file -> in-memory structure -> mdx binary file ~99.7% (8753/8773) of them would be byte-to-byte identical (some of them contains unused data).
New versions 900 (not sure), 1000 and 1100 are supported in parsers, generators and viewer.
MIT Licence
FAQs
Warcraft 3 model parser, generator, convertor and previewer
The npm package war3-model receives a total of 49 weekly downloads. As such, war3-model popularity was classified as not popular.
We found that war3-model 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.