Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nopq

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

nopq

NoPQ is a Node.js library that lets you unpack MPQ archives such as those used with several Blizzard games.

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NoPQ

NoPQ is a Node.js library that lets you unpack MPQ archives such as those used with several Blizzard games.

Limitations

NoPQ is only tested against Heroes of the Storm replay files. Therefor several assumptions are made such as the presense of UserData and exclusive use of BZ2 compression.

The library is only able to decompress MPQ archives.

Install

$ npm install nopq

CLI

$ nopq filename [extract]

A filename must always be provided however extract is optional. If extract is provided the program will pipe decompressed file from the archive. If extract is not provided the program will output a list of files contained in the archive.

API

  • nopq
    • Class: Archive
      • new Archive(buffer)
      • archive.buffer
      • archive.offset
      • archive.hashTable
      • archive.blockTable
      • archive.readFile(filename)
    • Class: Table
      • new Table(key, encryption, buffer)
      • table.buffer
      • table.readAsHashTable(entries)
      • table.readAsBlockTable(entries)

Contributing

Please feel free to contribute. We are currently looking to extend the library capability to handle previous MPQ versions.

Keywords

FAQs

Package last updated on 06 Apr 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc