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

1.0.0 • Public • Published

Kaitai Struct: runtime library for TypeScript

npm@latest npm@next downloads

This library implements Kaitai Struct API for TypeScript.

Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.

Further reading:


The code generated by the kaitai compiler directly imports the runtime as kaitai-struct, so in order to use the typescript runtime, you'll have to install it as an alias:

$ npm install kaitai-struct@npm:@tschrock/kaitai-struct

This installs the @tschrock/kaitai-struct package under the alias kaitai-struct


Copyright 2012-2016 Ilmari Heikkinen Copyright 2016-2020 Kaitai Project

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package Sidebar


npm i @tschrock/kaitai-struct

Weekly Downloads






Unpacked Size

58.6 kB

Total Files


Last publish


  • tschrock