ES Modules and enums
Two major changes - one, this package is published as ES modules now, instead of CommonJS. Second, the enums are published in the generated JavaScript as plain objects, meaning this library still works if you're using Babel or other TS build types that don't play well with const enum
.