Socket
Book a DemoInstallSign in
Socket

doom-wad

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doom-wad

Read data out of a DOOM WAD

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

doom-wad

Read data out of a DOOM WAD

npm install doom-wad

Tries to take a DOOM WAD (Heretic et al. not supported at present, PRs welcome) and mangle it into something useful.

Can handle most of the data used by DOOM and DOOM 2, see nlump for more details on which lumps are supported

It basically just uses nlump to convert the lumps, and tries to organise them meaningfully, eg. grouping map lumps together etc.

Known to work with DOOM and DOOM 2 IWADs, the handful of map-only PWADs I tried also worked

Usage

const fs = require( 'fs' )
const wad = require( 'doom-wad' )

fs.readFile( 'doom.wad', ( err, buffer ) => {
  const data = wad( buffer )
  
  console.dir( data )
})

FAQs

Package last updated on 06 Mar 2016

Did you know?

Socket

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.

Install

Related posts