@mightyplow/flags (npm): A utility to handle bitwise flags.
Keywords: flags|bits