UNPKG

storm-replay

Version:

NodeJS wrapper for StormLib (https://github.com/ladislav-zezula/StormLib)

6 lines (3 loc) 239 B
var storm = require('../'); console.log(JSON.stringify(storm.extractFile('test/replays/example.StormReplay', 'replay.fileNotFound'))); console.log(JSON.stringify(storm.extractFile('test/replays/example.StormReplay', 'replay.details')));