kaitai-io / kaitai_struct_javascript_runtime

Kaitai Struct: runtime for JavaScript
Apache License 2.0
37 stars 22 forks source link

Add package.json #2

Closed raymond-h closed 7 years ago

raymond-h commented 7 years ago

As of right now this runtime is impossible to install using npm. Adding a package.json file will allow npm to install it straight from the Github repo.

Even better would be to also publish the runtime to npm as well.

GreyCat commented 7 years ago

@koczkatamas recently made an npm release: https://www.npmjs.com/package/kaitai-struct

Could you take a look and see if that would work for you?

raymond-h commented 7 years ago

Looks perfect to me! Now the main compiler should use this module also in CommonJS environments (to resolve kaitai-io/kaitai_struct#180), which I have started working on.