define safe enums - if you get a key wrong you get a descriptive error not undefined
Type-safe enum creation for TypeScript and Zod. Stop duplicating your enums!
Creates a type safe enum from a list of strings
A type-safe, flexible enum factory for TypeScript with runtime validation and type inference
TypeScript Enum Utilities
Give a regex, get a robust predicate function that tests it against a string.
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Push an array of items into an array, while being robust against prototype modification
Safer Node.js Buffer API
Sanitize strings for use as JavaScript identifiers & property names
detect possibly catastrophic, exponential-time regular expressions
Modern Buffer API polyfill without footguns
PostgreSQL AST utils for pgsql-parser
Transform TypeScript `const` enums
A flexible way to handle safe area, also works on Android and web.
Typescript contracts for websocket messages between server and clients
Fault-tolerant CSS parser for PostCSS
Type-safe CLI command definition and execution.
A TypeScript string enum for compile-time safety when working with event.key
A deep deletion module for node (like `rm -rf`)
detect possibly catastrophic, exponential-time regular expressions
Like execa but prevents binary planting attacks on Windows
URL and cookie safe UIDs
Deterministic and safely JSON.stringify to quickly serialize JavaScript objects
This is a very basic implementation of enums in Ruby. The cornerstone of the library is safety.
This is a implementation of enums in Ruby.
Ensure that all values in an enum are covered
Converts a strings file to an enum, to make it more safe to access translations.
enums - safe enumeration types - a set of symbolic keys bound to unique integer numbers (incl. bit flags option)
Define type-safe enums in Ruby with automatic ordinals, custom values, lookup methods, and Ruby 3.x pattern matching support. A cleaner alternative to ad-hoc constants and symbol sets.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.