347 packages found
Easy but powerful enums for safer code. e.g. const Fruit = new Enum("apple pear banana"); gives you Fruit.apple, Fruit.has("apple"), and Fruit.$apple() (as a fail-fast value), whilst Fruit.isApple('penguin') will throw an error.
将ts enum 转 js 的产物减少一半,e[e['xxx']=0]='xxx'] => e['xxx']=0,e[e.xxx=0]='xxx' => e.xxx=0
This package provides the methods needed to replace a PostgreSQL ENUM in Sequelize migrations.
Joi extensions for enum mapping.
Sharing enums with a Java Spring Boot back-end.
A TypeScript string enum for compile-time safety when working with event.key
Return the enumeration constant associated with a supported strided array data type value.
Find unused files, dependencies and exports in your TypeScript and JavaScript projects
- find
- detect
- analyze
- scan
- lint
- unused
- unreferenced
- unresolved
- missing
- unimported
- files
- dependencies
- devDependencies
- exports
- View more
Convenient enumeration pattern for JavaScript
Return the data type enumeration constant of an ndarray data buffer.
Return the data type string associated with a supported ndarray data type value.
A Vanilla JavaScript library to work with Enums
BiEnum 是一种静态枚举方案,是 TypeScript 原生枚举(enum)的加强版。BiEnum is a static enumeration scheme, which is an enhanced version of TypeScript's native enum.
A repository of common interfaces, types and enums for TypeScript.