-
Notifications
You must be signed in to change notification settings - Fork 281
Project values
Alexander Shtuchkin edited this page May 31, 2020
·
1 revision
- Performance. The codecs are trying to be as fast as reasonably possible, potentially sacrificing memory and code simplicity.
- 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.
- Compatibility. We want to continue supporting old versions of Node (0.10+) and all major browser environments.
- Simple/boring code. We use pretty old ECMAScript 5 spec in strict mode. Minimum dependencies (currently only 1).
- Simple & convenient API. It shouldn't take much time to start using this library.