Skip to content

Project values

Alexander Shtuchkin edited this page May 31, 2020 · 1 revision
  1. Performance. The codecs are trying to be as fast as reasonably possible, potentially sacrificing memory and code simplicity.
  2. Only pay for things you use. Just importing the library should be quick and have small memory footprint. Only when encode/decode are actually called, the corresponding codecs and tables will be read from disk and potentially secondary data structures would be created.
  3. Compatibility. We want to continue supporting old versions of Node (0.10+) and all major browser environments.
  4. Simple/boring code. We use pretty old ECMAScript 5 spec in strict mode. Minimum dependencies (currently only 1).
  5. Simple & convenient API. It shouldn't take much time to start using this library.
Clone this wiki locally