binary-tools.js eases the task of dealing with raw binary data by using a simple interface built upon conventions you are likely to be already familiar with and a extensive list of real-world types.
This software is available under a range of open-source licenses - meaning that after buying it you can have full access to its source code and deal with it with all the freedom granted by those licenses, including developing it yourself and sharing your work with the world.
Modern applications need way more than the common types supported by standard libraries - binary-tools.js have native support for huge integers, not-so-common types used in media files, novel data types used in AI development and cryptic types used on legacy software and hardware - all using the same codebase.
binary-tools.js is built for safety and speed, with a API that suits both reading and writing a few bytes of structured data or huge streams of bytes, as in the case of media files.
While the source code of this software is developed using the latest patterns and features of present-day JavaScript, it is built so that it may be compiled/transpiled to work in any environment with JavaScript support, including extremely outdated engines like IE6.
binary-tools.js relies on standard math (and some bit shifting) to perform all of its operations. It is blazing fast, safe and clear on its approach to reading and writing binary data. All parsers are stand-alone classes that perform their tasks using clear language, well defined steps and very little language-specific features (or none at all), meaning that you can always be absolutely sure about whats going on under the hood, and also that porting any of its functionality to other languages or environments, for example, should be as easy as copying, pasting and changing the syntax.
There is no such thing as "enough" when it comes to testing. No release comes until the source code is 100% tested - lines, functions, branches, everything must be 100%. If I'm able to test all possible inputs, I'll do it. If I'm not able to test all possible inputs, I'll sample the most inputs I can, always using diverse and reliable sources. Adding tests is a continuous process, and if a bug is found I'm proud to show both the bug and the bugfix to the world.
binary-tools: JavaScript binary tools for any browser or environment.
Copyright (C) 2023 Rafael da Silva Rocha
This software is released under the Creative Commons CC-BY-NC-ND-4.0 license (very restrictive, no commercial use). You may purchase a version of this software released under more permissive open source licenses for your freedom and convenience.
No sources included, licensed as CC-BY-ND-4.0 for commercial use.
Comes multi-licensed with GPL-2.0 and GPL-3.0
Comes multi-licensed with LGPL-2.1, LGPL-3.0, MPL-2.0 and GPLs
Multi-licensing ensures that you can choose the license that works best for you.
Licenses apply to specific versions.
Last reviewed in 2025-02-09
Talk to me: [email protected]
I may be available to work on your project.