Search results
63 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
A lightweight, schema-first validation library for Scalar
Helper methods for manipulating variables
Transforms various collections into arrays by whatever means they support
Coerce props to custom values
將環境變數值轉換為 JavaScript 類型值 (Convert env var value to JS type, support boolean conversion)
Declarative, functional CLI argument/options parser, app framework, arg value coercions, multi/sub-commands, usage generation, error handling etc.
- ansi
- argument
- cli
- coerce
- color
- conversion
- declarative
- functional
- hex
- logger
- no-browser
- nodejs
- parser
- tuple
- View more
Fast runtime type validator, converter and io (encoding/decoding) library
Coerces, validates and prettifies vehicle registration marks (VRMs)
Type-safe utilities for filtering and coercing unknown values in TypeScript.
Convert strings to JavaScript types (boolean, null, number, object, array)
MMS - API Core - Common utils tools
Runtime helpers (normalise + coerce primitives) used by @polyprism/ts-domain-class. The TypeScript-side runtime — only required when you choose the opinionated domain-class pattern. PHP users want the polyprism/runtime Composer package instead. ESM-first
useful work around for existential getting/setting values in nested Objects
MMS - API Core - Common types, classes and functions
Coerces, validates and prettifies vehicle registration marks (VRMs)
Zero-dependency form data coercion
Change values on an object based on keywords or a key map.
A lightweight utility that safely parses JSON without crashing applications. Supports fallback values, error logging, and required field validation.
- json
- parse
- safe-json
- json-parse
- safe-parse
- json-validation
- json-sanitizer
- error-handling
- graceful
- localStorage
- browser
- nodejs
- utility
- validation
- View more