You can install it using npm globally:
$ npm install @rojo2/wad-parser -g
$ wad-parser <wadfile> list [regular-expression]
or locally and using npx to execute it:
$ npm install @rojo2/wad-parser
$ npx wad-parser <wadfile>
List WAD entries
$ wad-parser <wadfile> list [regular-expression]
Extract WAD entries (right now it is capable of extract only textures and sprites as TGA files, sounds as WAV and maps as JSONs)
$ wad-parser <wadfile> extract [regular-expression]
Extracts all the DOOM2 sounds into .wav files
$ wad-parser DOOM2.WAD extract '^DS'
Extracts all the DOOM2 CyberDemon sprites into .tga files
$ wad-parser DOOM2.wad extract '^CYB'
Made with ❤️ by ROJO 2