Binary markup language
BML a powerful declarative and symmetrical parser and packer for binary data.
Installing / Getting started
NodeJS: Just use npm to install BML and you are set :)
npm install binary-markup --save
yarn add binary-markup
First describe structure of binary data
const byte struct = ;// define composite typeconst rgb = ;// you can use previously defined type to describe more complex onesconst colorsType = ;
Now you can read and parse binary data
const fs = ;const parse = ;fs;
const pack = ;console;
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
- Project homepage: https://github.com/srg-kostyrko/BML
- Repository: https://github.com/srg-kostyrko/BML
- Issue tracker: https://github.com/srg-kostyrko/BML/issues
- In case of sensitive bugs like security vulnerabilities, please contact email@example.com directly instead of using issue tracker. We value your effort to improve the security and privacy of this project!
- Related projects:
The code in this project is licensed under MIT license.