compresso
v1.5.0
Published
Debloat your code with a nice cup of compresso
Maintainers
Readme
compresso
Bundle too big? Way too much code to write? Don't stress! Take a compresso!
Compresso is a quick utility library with micro-optimized utilities to reduce duplicated patterns of code while ensuring type security.
List of utilities can be found here
Aliases
compresso has a vast amount of global aliases. Instead of writing Math.max, Array.isArray or Object.getOwnPropertyDescriptor, you can simply import the aliases like max, isArray orgetPropDescriptor. This was done because Bundlers performing name-mangling can't mangle and shorten the names of property values, leaving Math.max like they are. Modern bundlers might be able to automatically alias them, but compresso providing aliases itself can also ease developing larger algorithms.
List of aliases can be found here
@ 2026 Torathion
