stormlib-node
TypeScript icon, indicating that this package has built-in type declarations

1.3.6 • Public • Published

StormLib Node

Node native module of StormLib C++ library.

Usage

Install the package as a dependency:

npm i stormlib-node

Import in one of your main thread scripts:

import { SFileOpenArchive } from 'stormlib-node';

You can also import and use enum values:

import { STREAM_FLAG } from 'stormlib-node/dist/enums';

SFileOpenArchive('path/to/archive.mpq', STREAM_FLAG.READ_ONLY);

Depending on your use case, you may need to explicitly include these files in your build/package script:

  • ./node_modules/stormlib-node/dist/stormlib.node
  • ./node_modules/stormlib-node/dist/StormLib.dll (Windows only)

Readme

Keywords

none

Package Sidebar

Install

npm i stormlib-node

Weekly Downloads

1

Version

1.3.6

License

MIT

Unpacked Size

6.5 MB

Total Files

66

Last publish

Collaborators

  • haaxor1689