@oazmi/kitchensink
Version:
a collection of personal utility functions
11 lines (10 loc) • 472 B
JavaScript
/** no external library dependencies. as it should be. */
/** flags used for minifying (or eliminating) debugging logs and asserts, when an intelligent bundler, such as `esbuild`, is used. */
export var DEBUG;
(function (DEBUG) {
DEBUG[DEBUG["LOG"] = 0] = "LOG";
DEBUG[DEBUG["ASSERT"] = 0] = "ASSERT";
DEBUG[DEBUG["ERROR"] = 1] = "ERROR";
DEBUG[DEBUG["PRODUCTION"] = 1] = "PRODUCTION";
DEBUG[DEBUG["MINIFY"] = 1] = "MINIFY";
})(DEBUG || (DEBUG = {}));